'protocol' Syntax and Note : protocol « Javascript Properties « JavaScript Reference

'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

1.'protocol' Example
2.'protocol' is applied to