I am using joomla2.5,I need to have a jquery effect on one of my page(not the home page) so I am wondering can I include jquery to joomla article if not then what should I do?
How to include jquery to joomla2.5 article
118 Views Asked by Yash At
2
There are 2 best solutions below
2
JTC
On
You can use addscript function in template to load jquery in the head section.
<?php
$document = JFactory::getDocument();
$document->addScript('/media/system/js/sample.js');
?>
But be aware that you have to use noConflict function, because joomla sometimes uses mootools framework.
Related Questions in JQUERY
- In Datatables, start value resets to 0, when column sorting
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- window.location.href redirects but is causing problems on the webpage
- Using JQuery Date Slider
- Storing selected language in localStorage
- How to stop other divs from still showing when i click a different button?
- Check multiple values with jQuery
- Bootstrap component does not want to render in Datatables function
- put white spaces when entering an amount moneytype symfony
- Trouble accessing custom header in AJAX response using jQuery in Fiware Keyrock
- I just cant make it work, HTML, JS and Firebase error
- Didn't declared variable still not getting any error in JavaScript
- Move element horizontally while scrolling vertically in pure JavaScript
- allow multi carousel in same page
- Embedded TikTok posts / thumbnail styling issue
Related Questions in JOOMLA2.5
- how to resolve 500 internal server error for my php application?
- Issue with update joomla from 2.5.17 to 3.5.1
- Is there a way to keep an audio player playing consistently whenever i switch pages on a joomla website?
- Cannot read property "from" of undefined
- PHP Notice: Only variables should be assigned by reference
- JQuery Chosen autocomplete issue
- Work on new joomla template in way that only I can see changes?
- How to redirect the page once the site is down in joomla
- Joomla Database values fetch in custom module
- How to create a custom template for k2 category and assign this template into Joomla backed?
- Joomla 2.5 - Rollback on model method save()
- Will my Joomla! 3.x extensions work with Joomla! 2.5?
- Joomla 2.5 adds duplicated meta tag canonical from other view into current view when cache is on
- Akeeba backup restore
- How to retrieve id of newly added row in custom code event in joomla?
Related Questions in JOOMLA-EXTENSIONS
- Problem with a simple query script used in RS Forms on Joomla 4
- Class 'SppagebuilderHelper' not found in Joomla CMS
- Joomla Update Causing Frontend and Backend Issues – Admin Panel 500 Internal Error
- Joomla extension Articles Good Search module can't handle German "umlauts"
- How to add a custom class to GTRASLATE Plugin for JOOMLA?
- Error while trying to authenticate in joomla template
- PHP error "Failed to open stream: Permission denied"
- Joomla 4 system plugin does not get parsed
- Joomla / ESHOP Question - how i correctly pull the sub total, vat, shipping and total value from the order totals table?
- Joomla Logman Notify modify email message
- How to use a com_content extension category on other Joomla4 Component?
- How to restore the install from file upload container in the Joomla back-end admin
- How could I save special characters on text type on Joomla xml config file?
- Adding a menu item to Joomla's tinymce editor
- How do I create parameters in a Joomla module depending on another parameter / number?
Related Questions in JOOMLA1.7
- Joomla 1.7 ACL issue
- Joomla 1.7 - can't find Meta Titles
- Cache in a Joomla website that have some frequently changed components
- Application built on joomla displaying raw data on localhost
- Creating a folder on registration
- jFolder::create:could not create directory in joomla 1.7
- Fatal error in joomla component
- Joomla JAuthentication: :authenticate error
- Intermittent - Infinite loop detected in JError
- Meaning of code in custom Mod_menu override
- Joomla 1.7.5 to 2.5 Migration - When not showing any updates about 2.5
- How to get component instance via code Joomla 1.7
- Jquery not working in joomla2.5
- How to include jquery to joomla2.5 article
- joomla 1.7.1 post migration url rewrite issues (now 2.5.14)
Related Questions in JOOMLA3.0
- TinyMCE API for joomla
- How do I trigger modal js function for Virtuemart child products
- Joomla Website showing while color while opening website (only Home Page is white and remaining pages working fine)
- Add bootstrap tooltip in input field
- Reoder featured articles after migration to joomla 4
- How to search domains with common code or template?
- Virtuemart mod_virtuemart_product sef issue
- How to override Session.php in joomla
- How to enable X-Forwarded-For (XFF) Header in Joomla 3.10.x
- How to restore the install from file upload container in the Joomla back-end admin
- How could I save special characters on text type on Joomla xml config file?
- count multiple values in one column(mysql) PHP (Rs form joomla)
- I can only find how to fit a smaller background to a bigger size page using I want to fit a 5000px background to the width of smaller pages
- How can I get my Joomla 3 to work correctly?
- Redirect url with ids range to another url using htaccess
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can include the jquery in index.php in the
<head>section.