Opened 9 years ago
Closed 9 years ago
#14400 closed bug (invalid)
$.text() goes into infinity
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
If $.text() is provided a parameter as string, it goes into infinity. Fiddle: http://jsfiddle.net/5wXRh/
Change History (3)
comment:1 Changed 9 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 9 years ago by
I am aware of using .text(), it's just I am concerned that atleast using $.text("span"),shouldn't go in infinity. I'll always prefer using $("div").text() as you proposed.
comment:3 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
There is no documentation for the
jQuery.text()
method and therefore calling it at all is undefined. Did you mean.text()
?http://api.jquery.com/text/
e.g.,
$("div").text()