Well this is becoming a big problem, I want to make it so you can view headlines from RSS feeds, but to do that I would need to use two functions, one to get the info from the server and the next one to put the returned value into the server, it is using Ajax. I tested the first function and that is working other then it is ruturning [object] instead of the virable.
function cb_showheadlines(test) { return test; } function hlines(on,id){ thing=agent.call('','showheadlines','cb_showheadlines',id); document.getElementById(on).innerHTML=thing;}
Here is the page,http://levade.homeip.net/addicted/sirtus/feedtronic2.phpI also tried it like this:
function cb_showheadlines(test) { thing=test; } function hlines(on,id){ agent.call('','showheadlines','cb_showheadlines',id); document.getElementById(on).innerHTML=thing;}
thanks,