Side navigation
#11519 closed bug (duplicate)
Opened March 26, 2012 12:54PM UTC
Closed March 28, 2012 09:35PM UTC
Last modified March 28, 2012 09:35PM UTC
String replace BUG
Reported by: | davide.falchetto@gmail.com | Owned by: | davide.falchetto@gmail.com |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | attributes | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi.
The following instruction:
'''''var idToDelete = jq(this).attr('id').replace('recordis-','');'''''
that work with jquery 1.7.1, now with version 1.7.2 does not work anymore.
Error is 'replace is not a function'.
Thanks.
Attachments (0)
Change History (3)
Changed March 26, 2012 02:01PM UTC by comment:1
component: | unfiled → attributes |
---|---|
owner: | → davide.falchetto@gmail.com |
status: | new → pending |
Changed March 28, 2012 09:35PM UTC by comment:2
resolution: | → duplicate |
---|---|
status: | pending → closed |
Caused by attr() returning incorrect value
Can you list here all the other scripts or jQuery Plugins you're using in your code? Thanks!
Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!
Additionally, be sure to test against the "jQuery (edge)" version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/
Open the link and click to "Fork" (in the top menu) to begin.