01hanstu Posted February 8, 2010 Share Posted February 8, 2010 Hi, How can I tell exactly what is being requested by a webpage? Thanks - Stuart Link to comment https://forums.phpfreaks.com/topic/191407-xajax-help/ Share on other sites More sharing options...
pernest Posted February 8, 2010 Share Posted February 8, 2010 I'm not sure what you are asking, but couldn't you just look at the source of the webpage and examine how the JavaScript is written? Link to comment https://forums.phpfreaks.com/topic/191407-xajax-help/#findComment-1009084 Share on other sites More sharing options...
01hanstu Posted February 8, 2010 Author Share Posted February 8, 2010 Hi, Thanks for the reply. I have never used xajax and xml and wanna know how i can find out what it is requesting i.e what file is it looking for. No sure if this helps explain it better. <SCRIPT type=text/javascript> var xajaxRequestUri="/"; var xajaxDebug=false; var xajaxStatusMessages=false; var xajaxWaitCursor=true; var xajaxDefinedGet=0; var xajaxDefinedPost=1; function xajax_ui_page_login(){return xajax.call("ui_page_login", arguments, 1);} </SCRIPT> <SCRIPT src="xajax/xajax.js" type=text/javascript></SCRIPT> Thanks - Stuart Link to comment https://forums.phpfreaks.com/topic/191407-xajax-help/#findComment-1009090 Share on other sites More sharing options...
seventheyejosh Posted February 8, 2010 Share Posted February 8, 2010 <SCRIPT src="xajax/xajax.js" type=text/javascript></SCRIPT> src == Source. So wherever your html file is, it should be in that xajax folder... i.e: /html/home.html then it is in (prolly) /home/xajax/xajax.js Also if you view the page source in like Firefox, you can just click the hyperlink in the source and view the file. And if by loading you mean watching the XHR's then you can use something like firebug, or Chrome's dev console to track em. Link to comment https://forums.phpfreaks.com/topic/191407-xajax-help/#findComment-1009110 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.