Traps & Tricks

IE.formName.radio.value maybe undefined,while chrome maybe blankString.

The best way to overcome it:

  1. always add an item with blank string value,checked,hidden.
  2. $(formName).find('[name=inputName]:checked').val()
    ig.:$(SearchFormMore).find('[name=Lang]:checked').val()

你可能感兴趣的:(Traps & Tricks)