InMotion Hosting Support Center
This is archived and no longer maintained. Any information contained in this article may be out of date.

Joomla 2.5 has reached its end of life as for 12/31/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here.

When you're writing an article in Joomla 2.5 and save the changes, there are various elements that Joomla will naturally remove from your content. For example, if you've added any javascript to your article, Joomla will remove your script tags. This is a security measure taken by Joomla, but when you really need to use javascript this does cause headaches for many users.

Just like javascript, Joomla removes iframes from code as well. In a previous article we showed you how to allow iframes in your html code, and allowing javascript code follows the same steps.

Question: How do I prevent Joomla from removing my javascript code?
Answer: Review our article on allowing iframes in your articles. Follow the steps in the article, but substitute <iframe> with <script>.

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2014-06-18 7:32 am

How to use jquery in joomla?

when i type below code i got this error "ReferenceError: jQuery is not defined".

<script type="text/javascript">     jQuery(.'btnLike').click(function() {         var abc = 'Like';     });</script>


Please let me know the solution of this error.

11,186 Points
2014-06-18 8:35 am
This is because jQuery is not included within your code. You will need to download jQuery and include it within your file.
n/a Points
2014-07-16 12:04 pm

Hi JeffMa,

Thanks for your help.

I have included this js file and now it works fine.

Thanks again.

n/a Points
2017-12-16 8:34 am

ReferenceError: jQuery is not defined. http ://edu.*********.in/ it is a diferent formate on a website approches all the interactive...

30,637 Points
2017-12-18 9:43 am

We are happy to help, but it is not clear what your question is. Could you please provide additional information and links for us to test and replicate the problem.

Thank you,

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

5 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!