eskimmer 0 Report post Posted August 17, 2007 I'd like to have a postcode (zipcode for you US people) lookup automatically after a person enters a suburb (city) and state into a form. I can handle the mysql query and php code but how do I make the code execute _after_ the user enters the suburb and postcode but before they submit the form? Is there a way to control when the code executes so the user doesnt' have to submit before the code runs? I'd like them just to enter the suburb and then state and then have the post code enter automatically. Is this possible? Hints appreciated. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted August 17, 2007 Add a javascript 'onchange' to the selection box? Might be nice to see your code. Share this post Link to post Share on other sites
faund 0 Report post Posted September 11, 2007 Maybe the AJAX can help you. I think this forum also use AJAX. Share this post Link to post Share on other sites
.hack//GU 0 Report post Posted September 12, 2007 If I'm not mistaken, the shoutbox on the upper part of the board is made from AJAX, is that right? Would you mind to tell how to use it then? Is it just a JavaScript or any other upgrade from it? Share this post Link to post Share on other sites