Hi,
Excuse me if similar issue has been posted earlier.
Am using ajax, calling url
function getFeedWithComments(table,feed_id_1,page,cpage,hashval){
url = 'file1.php?action=feeds_comments&output=xml&table='+table+'&feed_id='+feed_id_1+'&page='+page+'&comment_page='+cpage;
if(hashval){
url+= '&hashval=f'+hashval+'_c';
}
createXHR();
sendRequest(url);
}
I can get the url called by either putting alert OR using live http headers but my client is not a savvy.
I want him to view the current request url sent but how??
What will be the easiest way for this?
Thanks in advance.
Regards
view request url sent via ajax??
Moderator: General Moderators
- rupam_jaiswal
- Forum Newbie
- Posts: 22
- Joined: Thu Jun 05, 2008 12:54 am
-
DaiLaughing
- Forum Commoner
- Posts: 76
- Joined: Thu Jul 16, 2009 8:03 am
Re: view request url sent via ajax??
That doesn't look much like the AJAX I use so this may not be much use!
If I understand the question you just need to show the url which was sent on the page. Can't you just either:
1) change the value of an existing HTML element with innerHTML to show the latest URL
2) add a new element using appendChild
If I understand the question you just need to show the url which was sent on the page. Can't you just either:
1) change the value of an existing HTML element with innerHTML to show the latest URL
2) add a new element using appendChild