internet explorer - IE9: Form values revert back to old value after AJAX form submit -


i have weird issue. submit form using jquery submit. everythign works fine on pc in ff , in ie9. ie9 corporate standard , users have same version installed.

one user has issue after every submit

  • form fields (textareas, select, input) reverted previous value
  • when data reloaded (ajax) displays old values (even thought submit before did save update database correctly)

the means new values display restart ie9. cleared history (temp files) had no effect.

since works fine on pc ie9 settings affect this? other ideas? kind of lost here.

edit:

other users have same problem, while works on pc

edit 2:

just clarification: want submitted values stay in input fields. submit save , user should able continue enter data , save again later.

edit 3:

tried reset... button (resets internet explorer settings) on pc. nothing changed. still works expected. problem can't on users pc because lose whole config.

the issue after form submit data reloaded display changed metadata (last update user , time) using ajax well. reason ajax call cached , hence old value returned. reason don't know pc never cached call , hence worked correctly.

the solution disable caching:

$.ajax({     "url": url,     "type": "get",             "cache": false,     "datatype": 'json',     //... }); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -