Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Why does Java just disappear?
Old 09-06-2008, 11:18 PM Why does Java just disappear?
Novice Talker

Posts: 14
Name: Peter
Trades: 0
Hi all, in wordpress, everytime i try to put any Javascript in my blog it just disappears?

All that is left is the start and end tags?

Does anyone know why this happens.. Or is it just wordpress as i am aware it has issues.

Any help appreciated.


Many Thanks.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
peter250 is offline
Reply With Quote
View Public Profile Visit peter250's homepage!
 
 
Register now for full access!
Old 09-07-2008, 07:40 PM Re: Why does Java just disappear?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
It's a protection system WordPress uses so javascript not java cannot be embedded into posts and comments by "others" and then executed in visitors browsers.

I do agree they could use a much better system to ensure that js cannot execute 'cos it makes it a real PITA to post code samples and it's really as simple as replacing >< with the HTML entities &gt; & &lt;.

There is probably a "plugin" somewhere to use BBcode in posts.

But to post code wrap it in styled <pre></pre> tags, and use the HTML entities for < & >
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 09-07-2008, 07:45 PM Re: Why does Java just disappear?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,519
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
There is probably a "plugin" somewhere to use BBcode in posts.
So there is
I should heed my own advice

http://www.procata.com/software/wordpress-bbcode/
Hasn't been updated since 2005 though and goes back to ver 1.5.2
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Why does Java just disappear?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.30682 seconds with 12 queries