Closed (fixed)
Project:
Fieldset helper
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2010 at 23:06 UTC
Updated:
1 Mar 2012 at 17:20 UTC
let's say i want to use a selector that uses a literal string, like the attribute selector...
fieldset[name*='some-name']
this doesn't seem to be possible as the selector seems to be modified or something. i mean, it looks like as soon as it hits the quote just before the 's', that it thinks it is the end. replacing the single quotes with doubles generates a different error. what am i doing wrong?
Comments
Comment #1
jrockowitz commentedYou will have to look at jQuery's documentation to figure out how to escape special characters.
I think just using fieldset[name*=some-name] should work since dashes are not listed as a meta character.
Hope this helps,
~jake
Comment #2
rconstantine commentedhmm. didn't work. oh well. i was trying to figure out how to exclude the text filter fieldsets from opening/closing.
i tried this selector:
fieldset:not('fieldset[id*=fieldset-input-format]') or something like that.
Comment #3
jrockowitz commentedClosing old tickets if you still need please re-open this ticket.