Magento and Magento2.0 Help Line
Pradeep Kumar
Monday, May 17, 2010
Renaming id name in javascript
old is old id where we are going to rename it to new
function renameID()
{
document.getElementById("old").id = "new";
}
onclick="renameID()"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment