Hi everybody!
How to find all inputs(html) and copy their names to their values?
Example html:
<input name="name" type="text" value="{111}" onchange="Change(this)" title="Some title 1" />
<input name="phone" type="text" value="{111}" onchange="Change(this)" title="Some title 2" />
<input name="zip" type="text" value="{111}" onchange="Change(this)" onkeypress="CheckInput(this)" title="Some title 3" />
etc..
I need something like this:
<input name="name" type="text" value="{name}" onchange="Change(this)" title="Some title 1" />
<input name="phone" type="text" value="{phone}" onchange="Change(this)" title="Some title 2" />
<input name="zip" type="text" value="{zip}" onchange="Change(this)" onkeypress="CheckInput(this)" title="Some title 3" />