I am talkin about relative URL not the direct URL.. Even we can use a direct URl in html also ...
We will Ajax to make our page as asynchronus by using our resources not the websites...
And for your info u try the above code with using GET and tell me whether u got the answer or not,,,,
User Profile
Collapse
-
You are right Mr.Dormilich , but when I tried this code in my browser it clearly show the error message method GET is not supported..
And also without using any webserver how can we send a dynamic URL in asyncRequest.op en('POST',"b.ht ml",true);
If we use within a server then only we can get the dynamic content..Leave a comment:
-
you have not done much mistake..I think in line no 25.
asyncRequest.op en('POST',"b.ht ml",true); here previously you used 'GET' just i changed it to POST.
And also for your info if you get any problems while doing with AJAX or with JAvaScript you put alert("message" ) where you get some doubt then easily you can find out the problem what happened.Leave a comment:
-
Use the following Code It will work..
...Code:<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Ajax Demo...</title> <style type="text/css">
Leave a comment:
No activity results to display
Show More
Leave a comment: