<input type="hidden" name="showonlyinstorepickup" value="false" />
My alert box comes up as undefined instead of what the attribute is set to:
if ($('input[name="showonlyinstorepickup"]').length > 0)
I am actually more interested in what the value attribute is set to instead of what the name attribute of the hidden field is.
also says "undefined"
NOTE: If there is a better way to put information on the page that is hidden, please let me know....I am open to a better way of doing this.