View Full Version : calling a function in html loaded using xmlhttp.responseText

05-25-2005, 03:43 AM
I have a function on my main page, lets call it

function say(){ alert('here'); }

now, on the same page i load content using xmlHTTPRequest (to those of you who don't know what it is, I use a xmlhttp object to return the html source of a document.) and in that content I call the function say()

however, this is not working. The function does not get called, nothing happens.

also, note. the page i'm loading the content from is .php

05-26-2005, 04:48 AM
Can you post your code including a sample content of the retrieved document?