'protocol' Syntax and Note : protocol « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- protocol
'protocol' Syntax and Note
Note:
Read and write property.
Sets the URL protocol part.
Syntax:
document.getElementById("elementID").protocol = value
document.all.elementID.protocol = value // IE only
objectName.protocol
Related examples in the same category