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.

jquery problem

2 posters

Go down

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
avatar
paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

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>
Nera.
Nera.
Energetic

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

Back to top Go down

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
Guest
Guest


Back to top Go down

Solved Re: jquery problem

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

tnx nera
avatar
paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: jquery problem

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

Nema na čemu.

Topic solved
Nera.
Nera.
Energetic

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

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum