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 comment:1
component: | unfiled → core |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
Changed June 30, 2011 02:40PM UTC by 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.
The correct syntax is $.trim( response )