View Full Version : Remove NAME attribute of input element?
07-28-2006, 04:04 PM
Ex: <input type="text" name="password">
To: <input type="text">
07-28-2006, 04:27 PM
I'm curious to know why would you want to do that.
07-28-2006, 04:40 PM
works very nice
I have to send a form without these input names. Basically I have several input name="" with the same name, and want to contatenate the values in one single hidden input field, and eliminate the others. Work stuff! :)
You might have also disabled the form's elements.
On the other hand, if your server-side application is php, you might have kept the same names, but noted as php arrays:
07-30-2006, 03:53 PM
The Importance of Degrading Gracefully (http://weblog.burningbird.net/archives/2005/03/25/the-importance-of-degrading-gracefully/)
I've heard that at least one older browser, I think it may have been Opera 6, wrongly submits the name/value pair for disabled form elements.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.