https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32933 Bug ID: 32933 Summary: Use val() instead of attr("value") when getting field values with jQuery Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: minor Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org This issue came up because I noticed that the tag review page's "test" feature wasn't working. Clicking the test button didn't trigger any message about the tag's approval status. $(input).attr("value") is getting the initial contents of the "value" attribute when the DOM initially loads. In the case of the tags page, this will always be an empty string. Using $(input).val() gets the current value of the field. I think other instances of this code aren't buggy in the same way, but I think it's worth updating all of them for consistency. -- You are receiving this mail because: You are watching all bug changes.