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

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 12th 2011, 11:30 pm

Ćao paor,

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

Code:
<script></script>

Nera.
Energetic

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

http://webartzforum.com

Back to top Go down

Solved Re: jquery problem

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

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 12th 2011, 11:52 pm

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 12th 2011, 11:57 pm

Nema na čemu.

Topic solved

Nera.
Energetic

Female Posts : 7077
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