Need help with javascript please :-D

jgrim

Wordpress Guru
Oct 4, 2009
282
12
0
Ohio
jgwebdevelopment.com
I have an input box with an onchange event that triggers an ajax request. It works in all browers besides google chrome. I tried changing it to onblur but still refuses to trigger the event in chrome. Any suggestions?
 


The request works in all other browsers, just not chrome. So I know the request works. I'm using the jquery library. It's just that the onchange/onblur isn't triggered just in chrome.
 
Fixed, Chrome and IE just required me to put double quotes around certain variables.
Example:
$.post("test.php", { name: "John", time: "2pm" } );
should be
$.post("test.php", { "name": "John", "time": "2pm" } );