Copy some html,with input boxes?

Any problem with HTML can be discussed here.
Post Reply
dexter
Posts: 32
Joined: Fri Mar 09, 2007 1:18 pm

Copy some html,with input boxes?

Post by dexter »

Say I have:

Code: Select all

<div id="abc">    <input type="text" name="myname" value="TEST"></div>
if I use abc.innerHTML, I won't get the new value for the text field (if changed by the user). What would be the best way to accomplish fetching the new value to "properly" copy the HTML?
Thanks...


Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

you can use javascript onChange event to call a function after user edits the filed
Image
Gyanu
Posts: 338
Joined: Mon Jul 30, 2007 2:03 pm
Contact:

Post by Gyanu »

yea it is better than that first one.
Image
Post Reply