Bug Tracker

Opened 9 years ago

Closed 9 years ago

#14400 closed bug (invalid)

$.text() goes into infinity

Reported by: [email protected] Owned by: [email protected]
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 dmethvin

Owner: set to [email protected]
Status: newpending

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()

comment:2 Changed 9 years ago by anonymous

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 trac-o-bot

Resolution: invalid
Status: pendingclosed

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!

Note: See TracTickets for help on using tickets.