
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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
AmitDiwan has Published 10744 Articles

AmitDiwan
145 Views
The Location search property returns/sets a string corresponding to the query parameters for a URL.SyntaxFollowing is the syntax −Returning value of the search propertylocation.searchValue of the protocol property setlocation.search = searchStringExampleLet us see an example for Location search property − Live Demo Location protocol form { ... Read More

AmitDiwan
140 Views
The Meter low property returns/sets a number corresponding to the low attribute of a element. Use this with high, min and max attributes for better results.SyntaxFollowing is the syntax −Returning value of the low propertymeterElementObject.lowValue of the low property setmeterElementObject.low = numberExampleLet us see an example for Meter low ... Read More

AmitDiwan
121 Views
The HTML DOM MenuItem Object in HTML represents the element.NOTE − element only supported in Mozilla Firefox Browser.SyntaxFollowing is the syntax −Creating a elementvar menuItemObject = document.createElement(“MENUITEM”)PropertiesHere, menuItemobject can have the following properties −PropertyDescriptioncheckedIt sets/returns (true/false) if the menu item should be checkedcommandIt sets/returns the value of ... Read More

AmitDiwan
96 Views
The HTML DOM Menu Object in HTML represents the element.NOTE − element only supported in Mozilla Firefox Browser.SyntaxFollowing is the syntax −Creating a elementvar menuObject = document.createElement(“MENU”)ExampleLet us see an example for HTML DOM Menu element − Live Demo Menu Object form { ... Read More

AmitDiwan
181 Views
The HTML DOM Mark Object in HTML represents the element.SyntaxFollowing is the syntax −Creating a elementvar markObject = document.createElement(“MARK”)ExampleLet us see an example for HTML DOM Mark element − Live Demo HTML DOM Mark form { width:70%; margin: 0 ... Read More

AmitDiwan
192 Views
The HTML DOM Map Object in HTML represents the element.SyntaxFollowing is the syntax −Creating a elementvar mapObject = document.createElement(“MAP”)PropertiesHere, “mapObject” can have the following collections & properties −Collection/ PropertyDescriptionareasIt returns a collection of all elementsimagesIt returns a collection of all & elementsnameIt sets/returns the value ... Read More

AmitDiwan
89 Views
The HTML DOM Input DatetimeLocal name property returns a string, which is the value of the name attribute of input datetimeLocal. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputDatetimeLocalObject.nameSetting name attribute to a string valueinputDatetimeLocalObject.name = ‘String’ExampleLet us see an example of Input ... Read More

AmitDiwan
210 Views
The getModifierState() method returns true/false if the provided modifier key was pressed or not.SyntaxFollowing is the syntax −Calling getModifierState() with parameter as modifier keyevent.getModifierState(“modifierKey”)Modifier KeysHere, “modifierKey” can be the following −modifierKeyAltAltGraphCapsLockControlMetaNumLockScrollLockShiftExampleLet us see an example for getModifierState() method − Live Demo KeyboardEvent getModifierState() form { ... Read More

AmitDiwan
108 Views
The HTML DOM Input DatetimeLocal Object represents an input HTML element with type datetimeLocal.SyntaxFollowing is the syntax −Creating an with type datetimeLocalvar datetimeLocalObject = document.createElement(“input”); datetimeLocalObject.type = “datetime-local”;AttributesHere, “datetimeLocalObject” can have the following attributes −AttributesDescriptionautocompleteIt defines the value of autocomplete attribute of a datetimeLocal fieldautofocusIt defines if the datetimeLocal ... Read More

AmitDiwan
92 Views
The KeyboardEvent key property returns the key identifier corresponding to the key pressed using an event.SyntaxFollowing is the syntax −Returning latest typed character’s identifier −event.keyExampleLet us see an example for KeyboardEvent key property − Live Demo KeyboardEvent key form { width:70%; ... Read More