tom_mk Posted November 11, 2006 Share Posted November 11, 2006 hi, i have a few textfield creating by using PHPwaiting for user to input number.when user inputted num into one fieldhe/she then tab to input number on other field.however, when one input and moved to other field,i would like to have a commment associated with the field that just been filled pop out.eg. fetch info based on that number from mysql and display it at the RHS of that field.Any idea on how to do would be appreciate :>Thanks for any suggestionTom Quote Link to comment Share on other sites More sharing options...
Telemachus Posted November 11, 2006 Share Posted November 11, 2006 Sounds like you want to use onblur to call an AJAX function. Quote Link to comment Share on other sites More sharing options...
fenway Posted November 12, 2006 Share Posted November 12, 2006 Yup... you'll need a round-trip to the DB somehow; AJAX is one way. Quote Link to comment 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.