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 Quote 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. Quote 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... Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.