×
Home
Jobs
Tools
Coding Ground
Current Affairs
UPSC Notes
Online Tutors
Whiteboard
Net Meeting
Tutorix
Login
Packages
Categories
Java
JSP
iOS
HTML
Android
Python
C Programming
C++ Programming
C#
PHP
CSS
Javascript
jQuery
SAP
SAP HANA
Data Structure
RDBMS
MySQL
Mathematics
8085 Microprocessor
Operating System
Digital Electronics
Analysis of Algorithms
Mobile Development
Front End
Web Development
Selenium
MongoDB
Computer Network
General Topics
Library
Videos
Q/A
eBooks
Login
Library
Videos
eBooks
Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Selected Reading
UPSC IAS Exams Notes
Developer's Best Practices
Questions and Answers
Effective Resume Writing
HR Interview Questions
Computer Glossary
Who is Who
Manikanth Mani
has Published
71
Answers
What is the usage of onreset event in JavaScript?
HTML
Javascript
Programming Scripts
Manikanth Mani
Published on 26-Feb-2018 15:42:24
The onreset event is useful when a form is reset. You can try to run the following code to learn how to implement onreset event in JavaScript.Example<!DOCTYPE html> <html> <body> <script> function resetFunct() { alert("The form was ...
Read More
What is the usage of onfocusin event in JavaScript?
HTML
Javascript
Programming Scripts
Manikanth Mani
Published on 26-Feb-2018 15:30:41
The onfocusin event triggers when an element is to get focus. You can try to run the following code to learn how to implement onfocusin event in JavaScript −Example<!DOCTYPE html> <html> <body> <p>Write below:</p> <input type="text" onfocusin="newFunc(this)"> <script> ...
Read More
How to return a random number between 1 and 200 with JavaScript?
HTML
Javascript
Programming Scripts
Manikanth Mani
Published on 26-Feb-2018 14:50:41
To return a random number between 1 and 200, use the JavaScript Math.random() and Math.floor() method.ExampleYou can try to run the following code to return a random number in JavaScript.<!DOCTYPE html> <html> <body> <script> document.write(Math.floor(Math.random() * 200) + 1); ...
Read More
What is JavaScript Bitwise Right Shift(>>) Operator?
HTML
Javascript
Programming Scripts
Manikanth Mani
Published on 26-Feb-2018 14:38:21
Using Bitwise Right Shift operator, shift bit from the left. The rightmost bit isn’t considered.ExampleYou can try to run the following code to learn how to work with JavaScript Bitwise Right Shift Operator.<!DOCTYPE html> <html> <body> <script> document.write("Bitwise Right Shift Operator<br>"); ...
Read More
How to return a string value version of the current number?
HTML
Javascript
Programming Scripts
Manikanth Mani
Published on 26-Feb-2018 12:53:03
The toLocaleString() method returns a string value version of the current number in a format that may vary according to a browser's local settings.ExampleYou can try to run the following code to return a string value version −<html> <head> <title>JavaScript toLocaleString() Method </title> </head> ...
Read More
How to apply a function simultaneously against two values of the array from left-to-right?
HTML
Javascript
Programming Scripts
Manikanth Mani
Published on 26-Feb-2018 12:13:53
Use the reduce() method in JavaScript to apply a function simultaneously against two values of the array from left-to-right as to reduce it to a single value.The following are the parameters −callback − Function to execute on each value in the array.initialValue − Object to use as the first argument to the ...
Read More
How to convert a date to a string using current locale's conventions?
HTML
Javascript
Programming Scripts
Manikanth Mani
Published on 26-Feb-2018 11:23:40
JavaScript date toLocaleString() method converts a date to a string, using the operating system's local conventions.The toLocaleString method relies on the underlying operating system in formatting dates. It converts the date to a string using the formatting convention of the operating system where the script is running. For example, in ...
Read More
How can we create the MySQL view with ORDER BY clause?
MySQL
MySQLi
Database
Manikanth Mani
Published on 22-Feb-2018 15:36:09
We can use MySQL ORDER BY clause to sort the records in our result set. . To understand GROUP BY clause with views we are creating a view named ‘Info’ using the base table ‘Student_info’ having the following data −mysql> Select * from Student_info; +------+---------+------------+------------+ | id | Name ...
Read More
How can I move an existing MySQL event to another database?
MySQL
MySQLi
Database
Manikanth Mani
Published on 22-Feb-2018 12:40:37
It can be done with the help of ALTER EVENT statement too. We need to use the combination of database name and event name along with the RENAME keyword. To illustrate it we are having the following example in which we are moving the event named ‘hello_renamed’ from ‘query’ database ...
Read More
How can we check the list of all triggers in a database?
MySQL
MySQLi
Database
Manikanth Mani
Published on 22-Feb-2018 11:15:07
With the help of the SHOW TRIGGERS statement, we can list all the triggers in a particular database. It can be illustrated with the help of the following example −Examplemysql> Show Triggers\G *************************** 1. row *************************** Trigger: trigger_before_delete_sample Event: DELETE Table: sample Statement: BEGIN ...
Read More
1
2
3
4
5
6
7
8
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout