Skip to main content

Bug Tracker

Side navigation

#14400 closed bug (invalid)

Opened September 30, 2013 12:08AM UTC

Closed October 14, 2013 08:54AM UTC

$.text() goes into infinity

Reported by: anup.vasudeva2009@gmail.com Owned by: anup.vasudeva2009@gmail.com
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/

Attachments (0)
Change History (3)

Changed September 30, 2013 12:45AM UTC by dmethvin comment:1

owner: → anup.vasudeva2009@gmail.com
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()

Changed September 30, 2013 03:55AM UTC by anonymous comment:2

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.

Changed October 14, 2013 08:54AM UTC by trac-o-bot comment:3

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!