Skip to main content

Bug Tracker

Side navigation

#6464 closed bug (worksforme)

Opened April 20, 2010 11:15AM UTC

Closed April 21, 2010 02:11AM UTC

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.

Attachments (0)
Change History (1)

Changed April 21, 2010 02:11AM UTC by dmethvin comment:1

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.