Opened 13 years ago
Closed 13 years ago
#6207 closed bug (invalid)
Click Event on List Item
Reported by: | joe_average | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | attributes | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
"").replace(rreturn, "")]. elem.value was producing a -1, which since not interpreted as a string cannot use the replace function. To get around the problem I added a line checking elem.value for -1 and return an empty string if -1 is found. |
I tried searching the web to see if anyone else has run into the problem but did not find any.
Thanks
Change History (1)
comment:1 Changed 13 years ago by
Component: | event → attributes |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
It sounds like you're trying to get the .val() of a list item - but list items don't have a value so you're getting an error.