In order to detect the operating system on the client machine, the navigator.appVersion string (property) should be used.
Category Archives: Javascript
Javascript NULL
The NULL value is used to represent no value or no object. It implies no object or null string, no valid boolean value, no number and no array object.
Javascript Delete Operator
The functionality of delete operator is used to delete all variables and objects in a program but it cannot delete variables declared with VAR keyword.
Javascript Popup Boxes
Below given are the popup boxes supported by Javascript
- Alert
- Confirm and
- Prompt
Javascript Negative Infinity
Negative Infinity is a number in JavaScript which can be derived by dividing negative number by zero.
Submit form without a submit button PHP
We can do this by using JavaScript code linked to an event trigger of any form field and call the document.form.submit() function in JavaScript code.
Javascript Prompt Box
A prompt box is a box which allows the user to enter input by providing a text box. Label and box will be provided to enter the text or number.
Javascript Global Variables
Global variables are those that are available throughout the length of the code, that is, these have no scope. The var keyword is used to declare a local variable or object. If the var keyword is omitted, a global variable is declared.
Javascript ‘this’ keyword
This’ keyword is used to point at the current object in the code. For instance: If the code is presently at an object created by the help of the ‘new’ keyword, then ‘this’ keyword will point to the object being created.
Javascript Comments
// for Single line comments and
/* Multi
Line
Comment
*/