Return to Snippet

Revision: 59215
at August 24, 2012 07:13 by stevielamb83


Initial Code
$(document).ready(function(){
			$('#FirstName').attr('name', 'First Name');
			$('#ZipCode').attr('name', 'Zip Code');
			$('#EmailAddress').attr('name', 'Email Address');
		});

Initial URL

                                

Initial Description
Simply changes the name attribute on input elements when the page is loaded.

Initial Title
jQuery Form Attribute Change

Initial Tags
form, jquery

Initial Language
JavaScript