If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register or Login
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: About to GO insane! ajax + php == :*( Please gurus help me!

XMLHttpRequest creates an entirely new request, separate from your page. This means it doesn't matter what form(s) you have on your page (which wouldn't make sense anyways - how would it know what form to send and what if you didn't want to send them?)

So what you have to do is to add the values you want to send to your request object. I've actually made a class library in JavaScript that will do this for you for any form you like (it'll replace the form's submit action so all you have to do is add one attribute to your form and it'll work.) Here it is: http://javascript.mezane.org/ajax-form/ajax-form.js
Try to submit a comment at http://mezane.org/ to see it in action (also look in the source code to see how it is used.)

Re: About to GO insane! ajax + php == :*( Please gurus help me!

There is at least one mistake in the code you copy and pasted into your post. the function name alert is misspelled as "altert". Note, that in JavaScript even if you have one error the code will not compile and may not execute it at all.