View Full Version : Quickie - rename input element?

06-06-2003, 08:18 PM
Is it possible to rename a form element? I've got a form with dynamic size, and need to be able to delete a row of inputs, then rename the inputs that fall after that row.

This can be done, correct?

(Sorry no code and rather abrupt, I'm walking out the door)
Have a great weekend!


06-07-2003, 12:27 AM
document.forms["formname"].elements["name"].name = newname;

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum