javascript - Local Storage and radio buttons -
i'm trying store radio buttons value in local storage function if checked. storing last value in list, "3". please see fiddle: http://jsfiddle.net/3u7xj/148/
something this?
if (!$(this).is(':radio') || this.checked) { $(this) = value; }
i assume mean "oppcat" radio buttons. here's how value of radio button checked oppcat group:
survey['oppcat'] = $('input[name=oppcat]:checked').val();
Comments
Post a Comment