I have an xmlhttprequest which is triggered when a field content is changed.
when I use [tab] to leave the field, everything is OK, I got the answer correct.
when I use [enter] or [return] to leave the field, the php action is performed correctly, the sql base is updated, but the echoed result is displayed on screen instead of being captured by the object.responseText which is therefore undefined.
Start Free Trial