So what you are doing is typing something in a textbox, then you click on a link which gets what ever is in the textbox, and uses ajax to get what ever it says from script.php?q=text_inside_textbox
so here is what the html will look like
and if you want, you can have racing-games.biz which is expiring in 31st of May. registered in godaddy.Code:<html> <head> <title>the title</title> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#thebutton").click(function(){ $.post("script.php"); what do you write here?? }); }); </script> </head> <body> <input type="text" id="theform" name="q" size="40"><br> <a href="#" id="thebutton">THE BUTTON!</a> <div id="result"> <p id="the_result"></p> </div> </body> </html>
thanks!



Reply With Quote
Bookmarks