Script is from O'Reilly's site I adjusted/changed VERY little
It works fine on my computer
Uploaded to my host-
I get "permission denied" on line 186 in IE
In Firefox I just get no action whatsoever, the script does nothing
So....rolling with IE since the error is something tangible to work with in this instance
HTML
http://www.footballhangout.com/Players/rssajax2.html
There "can't" be anything wrong here, I mean there's just nothing to that. I changed from drop down box to input box otherwise...real vanilla there.
Javascript
http://www.footballhangout.com/Players/rssajax3.js
I figure it's gotta be here, the error.
I changed the 4th or 5th line to
Code:
var rssurl = "http://news.search.yahoo.com/news/rss?p=" + document.rssform.rssfeed.value +"&ei=UTF&fl=0&x=wrt";
and the 186th line to
Code:
xhr.open("GET","http://news.search.yahoo.com/news/rss?p=" + document.rssform.rssfeed.value +"&ei=UTF&fl=0&x=wrt",true);
The change I did is the preceding URL part, previously it fetched document.rssform.rssfeed.value, and the mine type(?) following stuff.
all the other lines are the same
"permission denied", no clue what that means here. Yahoo and Google invite folks to fetch their feeds so it's not that. I'm working within my own site(js) so....where's the prob here? I'm baffled, any ideas?
ETA: Original article link
http://www.xml.com/pub/a/2006/09/13/...er.html?page=1