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?

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.