Your security remarks were helpful. I asked about cross domain, just for info, and won't be actually implementing it.
What I want to do- I have demo project, which contains navigation links in header section, three divs in mid section, and footer with message. Whenever user clicks on links, content related to that link get generated in second div from another html file. And now at this point I want URL to be changed to www.homepage.com/navigation_link_name.
Making user feel, that he is navigating tabs in a application.
Is this achievable, or some thing is wrong with this kind of approach.
Second, is XMLhttp+JavaScript = Ajax, then how I can do http related things done at this ink using CGI::Ajax.
http.open('get', 'http://www.myhostname.com/cgi-bin/myscript.pl?noca +che='+now.getTime()); var response = http.responseText; setTimeout('wipeout()', 2000);
I just pass out url to method, I get response, then I can print out whole document, or parse required element content.
This is close to what I want to do. If I click CSS, or javascript or other link then upper portion remains same, content below navigation links changes. Also at the same time URL also changes.
In reply to Re^2: CGI::Ajax. Getting content of second.html file to resultant div of one.pl (same/cross domain)
by msinfo
in thread CGI::Ajax. Getting content of second.html file to resultant div of one.pl (same/cross domain)
by msinfo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |