Skip to main content

Bug Tracker

Side navigation

#9712 closed bug (invalid)

Opened June 30, 2011 12:07PM UTC

Closed June 30, 2011 01:21PM UTC

Last modified June 30, 2011 02:40PM UTC

trim function not working in jquery 1.5

Reported by: yogachandran.ravindran@a-cti.com 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.

Attachments (0)
Change History (2)

Changed June 30, 2011 01:21PM UTC by timmywil comment:1

component: unfiledcore
priority: undecidedlow
resolution: → invalid
status: newclosed

The correct syntax is $.trim( response )

Changed June 30, 2011 02:40PM UTC by yogachandran.ravindran@a-cti.com comment:2

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.