JavaScript Ajax request vs jQuery $.ajax?

Answer

In case anybody wonders what was wrong:

ret.setRequestHeader('Content-type','application/x-www-form-urlencode');

Should have been "x-www-form-urlencoded", with a "d" in the end:

ret.setRequestHeader('Content-type','application/x-www-form-urlencoded');

sending a formalized object is now working, and I can get rid of jQuery

All zend-framework Questions

Ask your interview questions on zend-framework

Write Your comment or Questions if you want the answers on zend-framework from zend-framework Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---