jquery problem

Go down

Solved jquery problem

Post by paor on Sat 12 Nov - 23:28:54

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

paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: jquery problem

Post by Nera. on Sat 12 Nov - 23:30:10

Ćao paor,

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

Code:
<script></script>
avatar
Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

Solved Re: jquery problem

Post by Guest on Sat 12 Nov - 23:32:57

Another option is to use this instead:

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

Guest
Guest


Back to top Go down

Solved Re: jquery problem

Post by paor on Sat 12 Nov - 23:52:56

tnx nera

paor
Forumember

Posts : 194
Reputation : -2
Language : Croatian

http://poljoprivredni-forum.biz

Back to top Go down

Solved Re: jquery problem

Post by Nera. on Sat 12 Nov - 23:57:44

Nema na čemu.

Topic solved
avatar
Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

Back to top


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