I face the following problem in firefox and google chrome :
firefox
google chrome
Sys.ParameterCountException: Parameter count mismatch.
Possibly worth wrapping your data: item in quotes
data: action = 4
becomes
data: "action = 4"