jquery problem Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    jquery problem

    avatar
    paor
    Forumember


    Posts : 194
    Reputation : -2
    Language : Croatian

    Solved jquery problem

    Post by paor November 12th 2011, 11:28 pm

    just treid to put some jquery code to Homepage Message

    Code:
    <script>$('.classname').after('new text');</script>

    after submiting and reloading Homepage Message I observed problem with $ sign:
    $ sign is changed to &#36 and script does not work

    please help
    tnx
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: jquery problem

    Post by Nera. November 12th 2011, 11:30 pm

    Ćao paor,

    Add it to your AP > Modules > JS managment without the tags

    Code:
    <script></script>
    avatar
    Guest
    Guest


    Solved Re: jquery problem

    Post by Guest November 12th 2011, 11:32 pm

    Another option is to use this instead:

    Code:
    <script>jQuery('.classname').after('new text');</script>
    avatar
    paor
    Forumember


    Posts : 194
    Reputation : -2
    Language : Croatian

    Solved Re: jquery problem

    Post by paor November 12th 2011, 11:52 pm

    tnx nera
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: jquery problem

    Post by Nera. November 12th 2011, 11:57 pm

    Nema na čemu.

    Topic solved