Link to home
Start Free TrialLog in
Avatar of charlieopp
charlieopp

asked on

javascript - send data to server without page reload

Hi,

I'm new to javascript and need some guidance.  I have a page with a form and a text input box.  I want to send  or I should say "submit" the data in the text box to the server but I don't want that page to be reloaded.  

Here's the challenge though: The server I'm using is an embedded server that is very limited in functionality.  The only way I can send data to it is in a "get" format (i.e. "ip addr/?c=xxx").  What is some javascript code that allows me to effectively do a submit without reloading the page?

Alternatively, what would the HTML / javascript code look like to put my text box into a frame, submit the text from that frame and just reload that frame?

Thanks,
Charlie
Avatar of irocwebs
irocwebs

ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I would use jQuery. Nice, easy and simple.

You can check out an example and all the information on this page: http://api.jquery.com/jQuery.get/