×
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
Akshaya Akki
has Published
66
Answers
What is the role of pageY Mouse Event in JavaScript?
HTML
Javascript
Programming Scripts
Akshaya Akki
Published on 26-Feb-2018 16:23:56
When a mouse event is triggered, the pageY mouse event property is used to get the vertical coordinate of the mouse pointer. The coordinate is relative to the screen.ExampleYou can try to run the following code to learn how to implement pageY Mouse event in JavaScript.<!DOCTYPE html> <html> <body> ...
Read More
What is the usage of onpagehide event in JavaScript?
HTML
Javascript
Programming Scripts
Akshaya Akki
Published on 26-Feb-2018 15:21:28
The onpagehide event triggers in JavaScript when a user leaves the page and decides to move to another. Some examples include age refresh, a link is clicked, etc.ExampleYou can try the following code to learn how to implement onpagehide event in JavaScript.<!DOCTYPE html> <html> <body onpagehide="newFunc()"> ...
Read More
Are both addition and concatenation same in JavaScript?
HTML
Javascript
Programming Scripts
Akshaya Akki
Published on 26-Feb-2018 14:11:42
Both addition and concatenation use the same + operator, but they are not same. Concatenation is used to concatenate i.e. add strings, whereas simple addition adds numbers.ExampleLet us see an example showing adding numbers and adding strings. Both show different results −<!DOCTYPE html> <html> <body> <script> ...
Read More
Match any string containing a sequence of two to three p's.
HTML
Javascript
Programming Scripts
Akshaya Akki
Published on 26-Feb-2018 12:34:03
To match any string containing a sequence of two to three p’s with JavaScript RegExp, use the p{2, 3} Quantifier.Example<html> <head> <title>JavaScript Regular Expression</title> </head> <body> <script> var myStr = "Welcome 1, 10, 100, 1000, 1000"; ...
Read More
How to return the day of the week in the specified date according to universal time?
HTML
Javascript
Programming Scripts
Akshaya Akki
Published on 26-Feb-2018 11:59:55
JavaScript date getUTCDay() method returns the day of the week in the specified date according to universal time. The value returned by getUTCDay() is an integer corresponding to the day of the week: 0 for Sunday, 1 for Monday, 2 for Tuesday, and so on.ExampleYou can try to run the following ...
Read More
What is the role of source RegExp property in JavaScript?
HTML
Javascript
Programming Scripts
Akshaya Akki
Published on 26-Feb-2018 11:32:14
The source RegExp property in JavaScript is a read-only string property of RegExp objects. It contains the text of the RegExp pattern. This text does not include the delimiting slashes used in regular-expression literals, and it does not include the "g", "i", and "m" attributes.ExampleYou can try to run the ...
Read More
How can we drop a MySQL view from the database?
MySQL
MySQLi
Database
Akshaya Akki
Published on 22-Feb-2018 14:54:18
With the help of DROP VIEW statement, we can drop a MySQL view from the database. Its syntax would be as follows −SyntaxDROP VIEW [IF EXISTS] view_name;Here view_name is the name of the view which we want to delete from the database.ExampleSuppose if we want to drop a view named ...
Read More
How can we create a MySQL one-time event that executes after some specified time interval?
MySQL
MySQLi
Database
Akshaya Akki
Published on 22-Feb-2018 12:26:51
As we know a one-time event means the events that will be executed only once on a particular schedule. To illustrate the creation of such kind of events we are using the following example in which we are creating an event which will execute after some specified time interval −Examplemysql> ...
Read More
How does MySQL evaluate the expression if the arguments are not equal in NULLIF()?
MySQL
MySQLi
Database
Akshaya Akki
Published on 21-Feb-2018 15:25:57
As we know that MySQL NULLIF() control flow function will return the first argument both the arguments are not the same. The first argument is returned because MySQL evaluates the first argument twice if both of the arguments are not the same.Examplemysql> Select NULLIF('Tutorialspoint', 'MySQL'); +----------------------------------+ | NULLIF('Tutorialspoint', 'MySQL') | ...
Read More
What MYSQL INTERVAL() function returns if there is no bigger number in the list of arguments than the number at first argument?
MySQL
MySQLi
Database
Akshaya Akki
Published on 21-Feb-2018 14:38:42
In this case, MySQL INTERVAL() function returns the index number of the last number in argument list plus 1. In other words, the last index number in the list plus 1 would be returned by this function. Following example will demonstrate it −mysql> Select INTERVAL(50, 20, 32, 38, 40); +--------------------------+ ...
Read More
1
2
3
4
5
6
7
Next
Advertisements
Print
Add Notes
Bookmark this page
Report Error
Suggestions
Save
Close
Dashboard
Logout