i throw a string value from the database in an input box...when i click update button, i need to clear the textbox after clicking update button..how?thanks a lot...
lloydsbackyard 0 Light Poster
Recommended Answers
Jump to Post<form onsubmit='document.getElementById("textbox").value="";'> <!-- or --> <input type='submit' onclick='document.getElementById("textbox").value="";'>
or any other combination of form/input & onanything
Jump to Post
<td><input type="text" name="uname" value="<?php if(!$_post){echo $records['name'];} ?>"></td>
All 7 Replies
almostbob 866 Retired: passive income ROCKS
public-image 0 Junior Poster in Training
karthik_ppts 81 Posting Pro
lloydsbackyard 0 Light Poster
public-image 0 Junior Poster in Training
almostbob 866 Retired: passive income ROCKS
lloydsbackyard 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.