DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   HTML even running script on server (http://www.daniweb.com/forums/thread158618.html)

aagaeta Nov 20th, 2008 3:12 pm
HTML even running script on server
 
How can you get an event (like pressing the submit button) to run a scrip on the server with out changing/reloading the clients webpage?

buddylee17 Nov 20th, 2008 3:34 pm
Re: HTML even running script on server
 
Don't use a submit button. Use input type ="button" and use a javascript onclick event to trigger the script. Also, to run a script on the server, you'll need to look into AJAX.


All times are GMT -4. The time now is 2:24 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC