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
116 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
- How to sort these using Javascript or Jquery Most effectively
- Ajax jQuery firing multiple time display event for the same result
- .hover() seems to overwrite .click()
- Check for numeric value with optional commas javascript
- Extending Highmaps Side Effect
- Array appending after each onclick and loop in javascript
- how can i append part of a table based on how many tr it has?
- Play multiple audio files in a slider
- Remove added set of rows
- Access property of an object of type [Model] in JQuery
- AJAX PHP - Reload div after submit
- proengsoft/laravel-jsvalidation ReferenceError: jQuery is not defined
- when a checkbox is checked how to display a different hidden element using javascript
- Get jquery error Uncaught RangeError: Maximum call stack size exceeded
- Removing only the closest thead on table filtering
Related Questions in JOOMLA2.5
- Can't get access to configuration.php Joomla 2.5
- Use dpcalendar event title as link attribut
- Front-end edition K2 with joomla2.5
- Editing header part in joomla
- How to use jalali (persian) calendar in adminisration of Virtuemart 2.x, joomla
- Joomla Custom URL through htaccess
- Changing the Joomla site Logo to point to another page instead of home page
- Return URL for Joomla - creating a custom LinkedIn module
- Joomla 3.2.x - Loading component creator form in another component
- Joomla's Login doesn't work when I set variable "live_site"
- Joomla!2.5 component ported to J!3.3: toolbar not working
- Does it matter to enter English(US) content over English (Uk) language set as default in Joomla 2.5?
- Joomla! 2.5 Can't change task from within top level controller of my component
- How can I restrict an external script to users that are logged in as an Administrator?
- joomla 2.5 database query result returns every value as string datatype
Related Questions in JOOMLA-EXTENSIONS
- Frontend editor in joomla 3 does not load the assigned position
- Joomla backend component file upload for custom component
- Can't to place categories module on product page
- How to change Joomla component's view default format?
- Which joomla module choose to create screencasts?
- How do I get the API Live info for my VirtueMart3 in Joomla?
- Generate CSS or JS dynamically for a Joomla module
- Connect two joomla websites user base
- How to fix relative path issue in Joomla for a component?
- Joomla search URL Issue
- How can we write cutom form and code for joomla login?
- Joomla Mosets Tree Listings
- Allow users to see, edit, delete only his topics in Forum in Joomla
- Can I disable modules with mobile detection in Joomla?
- fopen() very slow when used in Joomla
Related Questions in JOOMLA1.7
- Fatal error in joomla component
- How to include jquery to joomla2.5 article
- Jquery not working in joomla2.5
- How to get component instance via code Joomla 1.7
- How to write query using JDatabaseQuery in Joomla 1.7?
- how to set pagination in Joomla Search Plugin
- Is there any multiple template/extension single install pack for Joomla?
- Components tab missing Joomla 1.7 administratrion panel
- Joomla article page: code to check published or not
- PDF viewer for joomla 1.7 (docstoc,..)
- how can I set up a form with dynamic fields according to user input?
- Joomla 1.7.3 Errors with Xampp 1.7.7
- Joomla include js using jumi
- Joomla { } brackets implementation
- Joomla article edit, customfield
Related Questions in JOOMLA3.0
- Frontend editor in joomla 3 does not load the assigned position
- Joomla backend component file upload for custom component
- Using helper getTagItemsQuery needs alias ids not actual aliases
- Error 403 when posting on Facebook a Joomla URL for multilingual site
- Joomla 3.0 Hello World Program Will Not Display
- Error when updating from Joomla 3.3.6 to 3.4.1
- JavaScript add file to form data via $_POST
- How to create separate admin panel for customer in joomla 3?
- How to change Joomla component's view default format?
- Joomla 3.4.1 Bootstrap .2.3.2 - Dropdown Login as Menu item
- A hard SQL Query
- How to give access to custom created PHP pages inside Joomla 3.4.1 folder
- How to add a Images in article page in Joomla?
- How do I get the API Live info for my VirtueMart3 in Joomla?
- Jquery dialog box is not working in Joomla 3
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 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.