Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
jQuery in Web Pages
Topic Started: Jul 5 2009, 08:31 PM (191 Views)
Reid.
C'est un piège!
[ *  *  * ]
Could we make it where the $ isn't escaped on web pages? It can be pretty annoying... I mean, it isn't escaped in the board template.

It isn't escaped per se, more converted to a character code. I dislike that a great deal because it's a very common symbol when you're coding javascript and it really limits the scripts you can put on a web page.
Offline Profile Quote Post Goto Top
 
HolySavior
Member Avatar
if( holy + alcohol){ happycoding()}
[ *  *  *  *  *  *  * ]
reid just put it in the board wrappers and match it to that page. simple solution :P
Offline Profile Quote Post Goto Top
 
Night_Hawk
Member
[ * ]
It is possible to do what you suggested. Just look at the post above mine and all should be ship shake :p
Offline Profile Quote Post Goto Top
 
Viral.
Member Avatar
Member
[ *  *  *  *  *  * ]
Use jQuery.noConflict(); and reference jQuery by actually typing out jQuery instead of $. In fact, I'm 50% sure you can do that without calling the function.
Offline Profile Quote Post Goto Top
 
.Scott
Member Avatar
aka slayer766
[ *  *  *  *  *  *  * ]
Yeah you can use jQuery() instead of $() in a webpage, also there are JS operators that get changed into other characters as well such as "||" "&&"
Offline Profile Quote Post Goto Top
 
Reid.
C'est un piège!
[ *  *  * ]
It would be easier just if it was like the board template..
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · ZetaBoards Discussion · Next Topic »
Add Reply