I want to add a piece of code to affect all my pages.
Correct attribute ('id') == 'filter option') ($ ('$ container & gt; div: first') {$ ('# container'). Prepaid ('& lt; Div class = "banner">
Output:
Example , if the container looks like this:
& lt; Div id = "container" & gt; div class = "current banner"> & lt ; / Div & gt; Nothing will be like the first filter in the filter I have hit a collision now because I have something that looks like this banner
& lt; div id = "container" & Gt; A class = "current banner" href = "#" & gt; & lt; / a & gt; & lt; div id = "filterOptions" & gt; & lt; div & Gt; & lt; / Div & gt;
This will be essentially a double banner that I want to save. Because it's an anchor instead of a div.
So my question is how do I target all elements instead of targeting div: first ?
Something like this ...
if ('$' ('# container')
Anyone : first '). Attr (' id ') ==' filterOptions') {...}
You must use
($ ('($ (' # '(' # id ') ==' filter option ') { $ ('# Container'). Prepaid ('
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment