I have a page that I want to collect some simple data to send to a MySQL database, and execute a javascript function on the page. At the moment it works - but only with 2 buttons - one button's onclick event starts the function, and the other button 'posts' the data. Does anyone know what code will start a function and post data to the MySQL server in the one hit?
onclick event - post and execute function?
Collapse
X
Comment