Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript AJAX form not working… Re: AJAX form not working…

#78157
Capt Otis
Member

Might I suggest JQuery? It is a javascript library that can make life easier, especially when it comes to simple ajax. It’s how I learned, and works in just about every browser you can think of.

http://docs.jquery.com/Main_Page

Ajax is on the left hand side on the menu for tutorials.

I did what you want in only a minute with jquery, and notice how much shorter and forward it is. Easier to learn if you ask me.

Code:


Name:
Email:
Comments:

Your result will display here.


I know this isn’t exactly what you asked for, and if you want I will take a look at what you had and see if I can find your problem. Just note that if you use my example, you will need to have the jquery library and change the src to where it is on your server and also change the send form to receive a post instead of a get.

Best of luck,
-T