chennaibala Posted November 28, 2009 Share Posted November 28, 2009 hi frd, how to getvalue from textbox without submitting . <td align="center"><input id="hidevalue" name="hidevalue" type="text" size="10"></td> i need these hidevalue to pass in query. // $hidevalue' =$_POST["hidevalue"]; $q2="select id, name from tabname where id='$hidevalue' "; $r2=mysql_query($q2); thanks in advance Link to comment https://forums.phpfreaks.com/topic/183212-how-to-getvalue-from-textbox-without-submitting/ Share on other sites More sharing options...
RichardRotterdam Posted November 28, 2009 Share Posted November 28, 2009 You can't get a value of a textarea without submitting with PHP. You could with javascript though. Link to comment https://forums.phpfreaks.com/topic/183212-how-to-getvalue-from-textbox-without-submitting/#findComment-966905 Share on other sites More sharing options...
chennaibala Posted November 28, 2009 Author Share Posted November 28, 2009 can u say how to pass value in query using javascript pls... Link to comment https://forums.phpfreaks.com/topic/183212-how-to-getvalue-from-textbox-without-submitting/#findComment-966934 Share on other sites More sharing options...
RichardRotterdam Posted November 28, 2009 Share Posted November 28, 2009 try looking into ajax Link to comment https://forums.phpfreaks.com/topic/183212-how-to-getvalue-from-textbox-without-submitting/#findComment-966994 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.