Tom Knowlton
asked on
change <form> attributes
http://jsfiddle.net/knowlton/f7z63/4/
How do I change the name attribute of my form?
HTML:
<form name="smith"></form>
jquery:
$('form').attr("name", "hoowah"); //////////// DOES NOT WORK
How do I change the name attribute of my form?
HTML:
<form name="smith"></form>
jquery:
$('form').attr("name", "hoowah"); //////////// DOES NOT WORK
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
use firefox or chrome, right click on the first field and choose << inspect element >>
else you just see the original content not the modified content
else you just see the original content not the modified content
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
>>>use firefox or chrome, right click on the first field and choose << inspect element >>
else you just see the original content not the modified content
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~
Ahhh -- yes -- I see the change.
Thanks!
else you just see the original content not the modified content
~~~~~~~~~~~~~~~~~~~~~~~~~~
Ahhh -- yes -- I see the change.
Thanks!
ASKER
thx
ASKER
<form name="aspnetForm" method="post" action="default.aspx" id="aspnetForm" style="background-color: #E1DFDB;">