Are you using a submit button to call send_newsletter
?
onreadystatechange
callback function 'ajaxResult'
is not called because you're doing a synchronous call to the server:
resource.open(t,u,false);
if you want ajaxResult
to be called change it to :
resource.open(t,u,true);
for now that's what I see. You have to provide more info like how do you call send_newsletter
?
EDIT:(following author comment)
an INPUT
of type image
is a graphical submit button.
najmeddine
2009-10-29 18:09:45