• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Does JavaScript/jQuery work inside notices?

Optic

Well-known member
#1
Just wondering if you put JavaScript or jQuery inside <script> tags within a XF Notice - would it work?

I'm trying to find a way to programatically apply CSS class "active" to a given <li> in a set of tabs:
Code:
<ul class="tabs">
<li class="active">Link 1</li>
<li>Link 2</li>
<li>Link 3</li>
</ul>
(similar to the tabs in New Posts/New Profile Posts)

And was hoping to do it using JavaScript or jQuery with XF Notices because of the existing user/page criteria you can use..