Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9712 closed bug (invalid)

trim function not working in jquery 1.5

Reported by: [email protected] Owned by:
Priority: low Milestone: 1.next
Component: core Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

Description

when get method returns the response trim function does not seem to work in jquery 1.5 and it works fine in 1.3.2 var temp=response.trim();-->this is the place where the error is raised in the firebug. Please help me fix this issue.

Change History (2)

comment:1 Changed 11 years ago by timmywil

Component: unfiledcore
Priority: undecidedlow
Resolution: invalid
Status: newclosed

The correct syntax is $.trim( response )

comment:2 Changed 11 years ago by [email protected]

Thanks for your help.please provide me the code for receiving the json object in jquery 1.5.Previously i was using eval function to parse the json object which is not working now.

Note: See TracTickets for help on using tickets.