The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

jquery problem

View previous topic View next topic Go down

Solved jquery problem

Post by paor on November 13th 2011, 5:28 am

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 November 13th 2011, 5:30 am

Ćao paor,

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

Code:
<script></script>

Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

Solved Re: jquery problem

Post by Guest on November 13th 2011, 5:32 am

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 November 13th 2011, 5:52 am

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 November 13th 2011, 5:57 am

Nema na čemu.

Topic solved

Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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