javascript Element uniqueID
@March 15, 2008, 1:22 a.m.
uniqueID | Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a |
Read-only | |
Returns an identifier string that is unique among all object identifiers on the page. Used primarily to assign an ID to newly created elements when you don't mind the browser using its own naming scheme to invent the name. Most commonly used as a property of the document object, but it is accessible through any existing element object reference. The identifier is perfectly valid for use as string a parameter to methods that require an element ID. |
|
Example | |
var newElem = document.createElement("p"); newElem.id = document.uniqueID; |
|
Value | |
String. |
|
Default | |
Browser-generated. |
Permanent URL:
http://javascript.gakaa.com/element-uniqueid.aspx
atorvastatin 20mg for sale <a href="https://lipiws.top/">purchase atorvastatin</a> buy generic atorvastatin online
Rncwzt
- 9 months
Powered by Linode.