|
-
Oct 12th, 2007, 05:07 PM
#1
Thread Starter
Lively Member
replace all textboxes with their respective values
Hello all.
I would like to loop through all textboxes on a page and replace each textbox with it's default value.
So if I have:
Code:
<input name="user_name" type="text" value="solitario">
I would like to remove the texbox itself, and write the value to the page, and here's the kicker: where the textbox appears.
Right now I'm using a ridiculous set of stripos, strrpos, etc., functions. But I was wondering if this could be done with JavaScript.
Many thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|