I have had to adapt some singular code I had from a previous project into one that is to execute at real time, but for some reason I'm at a loss as to what I'm doing wrong...
Put simply I want it to push the received XML from the URL I've provided to a hidden form variable set in the function _L(). But for some reason that value is not coming through... Anyone have any ideas what I may be doing wrong?
cfmParser is actually on a different server, it strips out the specific code surrounding the particular URL expressed in feedURL. So anyone outside of my network may get some cross-domain issues if they try to execute the code... But if one is to execute it, they should expect the code to be XML... But for some reason I can't seem to extract it once the code is run. I can tell you that it is sending a 200 request status code, so it is getting through on my end... here is the code.
var feedURL = 'http://webservice.weatherzone.com.au/rss/wx.php?u=12994-1285[amp]lt=aploc[amp]lc=' + weatherCode + '[amp]obs=1[amp]fc=1[amp]warn=1';
var cfmParser = 'http://18.104.22.168/rssparser.cfm';
parser = new DOMParser();
xmlDoc = parser.parseFromString(theHtml, "text/xml");
I've tried a number of combinations, but my AJAX knowledge is a little lacking here...
Any clues what I might be doing wrong?
Thanks and Regards,