Questions-M
New member
I created a request that works, onSucess: function(responseText, responseXHTML){ $('idofelement').innerHTML = reponseText});
the only problem with this is, I would love for the javascript to write the actual response into the page, because when I view the source nothing comes out, which I need because the results also have effects using moo tools.
What I'm looking for is, to write the literal html that are requested from the php file. for example if the php file i'm requesting from says <div>apples</div> i would like my responesText to output <div> apples</div> into my element, as of right now, i get the results visually but not in the code.
the only problem with this is, I would love for the javascript to write the actual response into the page, because when I view the source nothing comes out, which I need because the results also have effects using moo tools.
What I'm looking for is, to write the literal html that are requested from the php file. for example if the php file i'm requesting from says <div>apples</div> i would like my responesText to output <div> apples</div> into my element, as of right now, i get the results visually but not in the code.