Can someone please show me the basic syntax for loading a page via AJAX just using javascript– not jquery? load() method?
xmlhttp=new XMLHttpRequest();
Where do I go from here?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will write more lines without jQuery, in jQuery it will done in 2 lines.
Anyway, here is the code
without jQuery
if you want to do some POST stuffs
You also need to do checking for IE
see this link for more understanding – XMLHttpRequest
with jQuety