/ Published in: JavaScript

Simply changes the name attribute on input elements when the page is loaded.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(document).ready(function(){ $('#FirstName').attr('name', 'First Name'); $('#ZipCode').attr('name', 'Zip Code'); $('#EmailAddress').attr('name', 'Email Address'); });
Comments
