Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6464 closed bug (worksforme)

setting .attr value on a hidden form field

Reported by: n1prodigy Owned by:
Priority: Milestone: 1.4.3
Component: unfiled Version: 1.4.2
Keywords: .attr, hidden, form, value Cc:
Blocked by: Blocking:

Description

http://brownwebdesign.com/jquery-attr-value.html

If value is set to "", .attr will not change/update value.

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: worksforme
Status: newclosed

Seems to work for me in both Firefox and IE8. I put this line in just to be sure:

alert($(this).parents('form').children('.hosted_button_id').attr('value'));

Works fine in form 1.

Note: See TracTickets for help on using tickets.