Skip to content

Instantly share code, notes, and snippets.

@kagemusha
Created August 31, 2012 08:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kagemusha/3550371 to your computer and use it in GitHub Desktop.
Save kagemusha/3550371 to your computer and use it in GitHub Desktop.
Jquery $(someField).val(val) - DO NOT USE
c. JQuery 1.8
for some reason this only works about half the time. rather than waste time on mindless and costly debugging instead always use:
$(someField).attr "value", val
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment