Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#9712 closed bug (invalid)

trim function not working in jquery 1.5

Reported by: yogachandran.ravindran@… 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 8 years ago by timmywil

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

The correct syntax is $.trim( response )

comment:2 Changed 8 years ago by yogachandran.ravindran@…

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.