Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jquery]

jQuery is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML.[2] It was released in January 2006 at BarCamp NYC by John Resig. It is currently developed by a team of developers led by Dave Methvin. Used by over 60% of the 10,000 most visited websites,[3] ...

0
votes
0answers
18 views

Joomla Seblod and jQuery conflict

I'm currently running into some issues with jQuery. On my Joomla I have the "Seblod" CCK installed. I then created a module in which I implemented the juicer.io social media feed. When I now try to ...
0
votes
1answer
20 views

JQuery error after joomla 3.8.10 update

Hello I get this jquery error after my last kunena update to 3.8.10: "Uncaught TypeError: $(...).insertAtCaret is not a function". You can see the complete error in the following capture: This error ...
0
votes
1answer
32 views

Chronoforms 6: jQuery.G2 is undefined

I have an issue with Chronoforms6. I'm using jQuery in my template and include a Chronoforms form in an article by using this shortcode {chronoforms6}myForm{/chronoforms6}. The issue is a this error ...
0
votes
0answers
44 views

set variable to use in jQuery - behaves different in Joomla than on jsfiddle

) Original post here. I was recommended to post here as well as it may be Joomla related. I'm using Event Booking and have a mod so I can indicate the probability if an event will be canceled/...
1
vote
0answers
133 views

jQuery is not a function in ajax function

I'm modifying the website (I got it the way it is right now, maybe even worse). I'm getting the "Uncaught TypeError: jQuery(...) is not a function" on the website, the error appears in ajax function, ...
2
votes
1answer
34 views

Make div disapear after a while

I have made a page, where if the user update its form, the backend will send the user back to the form with a message like this: header('loaction:/index.php?msg'); On the index.php site, it loads ...
0
votes
0answers
164 views

Show select when checkbox is checked and validate select as required

I have added new fields in the configuration file for my form, like this: <?xml version="1.0" encoding="utf-8"?> <form> <fieldset> <field name="yes" type="checkbox" ...
0
votes
0answers
134 views

Animated change logo size on scroll script creates a library conflict or some other loading issue

I'd like to have the logo shrink when the page scrolls down and expand to original when the page scrolls to the top. Except for the preloader with rotating icon, my code prevents the page from loading ...
2
votes
1answer
382 views

Debugging jQuery error - Uncaught TypeError: this._addClass is not a function

I'm having an issue with a specific page on a site I am helping with, i've spoken to the template developer and they are adamant that it is nothing to do with them and will not help (the page loads ok ...
0
votes
1answer
133 views

Scroll text within a div in a module

A little question here. A client wants a temporary notice placed on the site that scrolls horizontally inside a module. I have applied the basics of this fiddle, created a custom.js file that loads in ...
1
vote
1answer
171 views

Populate Joomla Calendar field by jQuery not working

I am trying to populate the calendar form field by using jQuery based on the values of other field. I am using JHTML::calendar for this. When the value is set via php everything works fine for me. But ...
2
votes
2answers
67 views

Some js files have temporary string at the end

I have some js files which have temporary string at the end, the problem is that jQuery is already loaded before so it cause issues. <script src="www.example.com/media/system/js/core.js?...
1
vote
1answer
777 views

Active menu items on page scroll with fullpage.js

I'm using fullpage.js with joomla 3.7.5. I try to put class active on my menu item, when I scroll to the specific section. According to the docs, to let fullPage.js know about the menu, I need to ...
1
vote
0answers
34 views

Problem styling a Joomla UI accordion on Joomla 2.5 page

I've successfully installed a jquery ui accordion on a joomla 2.5 page. Using Chrome development tools I can style it but these settings are lost on page reset. Checking out the jquery-ui.css file ...
1
vote
1answer
299 views

Jquery post request from other url

I have a custom.js with post request function setPrayerTime(cityId) { var request = $.ajax({ url: "http://site.com/mymodule/namaz_mob/prayer.v2.php", type: "POST", data: {...
0
votes
1answer
258 views

Jquery conflict using legacy template - is there a way to correct it?

I have a client who is trying to follow a Udemy course which uses a template from 2014 with the Jgive component. I have tried with different templates and the jQuery error does not appear, so it ...
1
vote
3answers
354 views

Jquery is not included in my component's head

I've just read this tutorial https://docs.joomla.org/J3.x:Developing_an_MVC_Component and finished my component (Joomla! 3.7). Now I realise that the site view doesn't contain the jquery link(s) in ...
2
votes
1answer
506 views

custom table display - help turning static html to dynamic php

I am trying to modify the list view of my Joomla component to display my table's data in a more user-friendly fashion. It currently simply displays all data in a regular table with columns and rows, ...
0
votes
2answers
255 views

Template loading jQuery twice, removing either versions breaks the site

I am working on the following site: https://www.jls-concept.fr/ The template is loading jQuery twice: - once from Joomla: https://www.jls-concept.fr/media/jui/js/jquery.min.js - and another time ...
0
votes
2answers
446 views

Using jQuery .load and console.log not working

I have a page that I'm loading through jQuery's .load. The page loads fine, but if I attempt to write to the console.log it does not work? Any thoughts on what I might be missing? If I use ...
2
votes
1answer
425 views

Send array from javascript to php by POST in Joomla 3.x

im trying to send an array from javascript to Joomla 3.x php file. var options = ['foo', 'bar']; $.post('index.php?option=component&view=componentview&Itemid=123&tmpl=component&...
1
vote
1answer
121 views

render/execute jasvscript code (which is in a php string) inside virtuemart JDispatcher eg: plgVmConfirmedOrder

I want to render/execute some javascript code written inside virtuemart JDispatcher eg: plgVmConfirmedOrder eg: $script='console.log("this is dummy script");jQuery.ajax({url:'',type:'post',success:...
0
votes
1answer
217 views

filter db by a single date - how to hack the standard calendar form field

I used component-creator.com to build a component. The component has a table with a date field and a frontend view which shows the contents of the table with a filter which can show the items between ...
1
vote
0answers
203 views

Modal rendering issue

I am using the following code to render a Modal window in Joomla! 3.6.5, inside administration: echo '<a href="#modal-test-modal" role="button" class="btn btn-success" data-toggle="modal">...
1
vote
2answers
147 views

best way to add third party js and css

I need to add a third party js and CSS to my template head. I'm getting Leverage browser caching and someone advised me to load the files locally. created a directory in root: assets/third-party/ ...
1
vote
1answer
42 views

Run Code From Joomla Article

Is it possible to run JQuery or JavaScript in a Joomla Article? I ask because I have tried just about every possible option I see on forums/interwebs and the data does not display as I desire.
1
vote
1answer
465 views

AJAX test module is not working. POST 404 error

I'm trying to create my own ajax module. When I submit the form I'm getting a 404 post error. Any idea what went wrong? This is what I have done so far. mod_ajax_test.xml <?xml version="1.0" ...
0
votes
1answer
46 views

SPpagebuilder accordion +Fetch as Google problem

Recently i purchase theme based on SP PageBuiler and description says it is included as Pro version. But SPpagebuilder forums required their subscription witch i of course don't have... And theme dev ...
0
votes
1answer
328 views

Using a JQuery function in a module?

I have customised a small text rotator using Jquery which I wish to use to rotate phones numbers in a module.It can be found here: http://jsfiddle.net/tovic/xaqgn/ I have tried embedding the function ...
1
vote
1answer
124 views

XML form related fields

I need to make a form with dependent fields. I have already tried a lot of options, but have not found the right way. As in the picture below, I'm trying to load a new XML file when you select an ...
3
votes
2answers
614 views

AJAX post not able to update database

How can I achieve a database insert using AJAX? I've created a module and I'm using AJAX post to insert a record into the database but seem to get a silent error and no database update; I know the ...
0
votes
0answers
25 views

One page overwrite my jquery

I have one problem with my Joomla site, I have the site in 7 language, for all of them I have done a file form.php where I have submit form for customers to contact me and this file is in all 7 ...
1
vote
1answer
200 views

Optimize Joomla SQL Query to store data in array and pass on array output to field

I have built 2 queries $id = JFactory::getApplication()->input->getIn('vid'); $db = JFactory::getDbo(); $db->setQuery("SELECT `email` FROM `#__usedcar_variants` WHERE `id`='$id' LIMIT 1"); $...
2
votes
2answers
73 views

How to make it easier for a client to update Joomla website?

I'm new to Joomla! and I'm designing a website for a client, my very first in Joomla!. He doesn't know how to code, so I'm trying to make it easier for him to update content after I finish with the ...
1
vote
1answer
55 views

jQuery UI issue with jQueryEasy plugin

Hello I have an old Joomla 2.5 site. I use the jQueryEasy for optimization and if I dont I get some random mootools error. My issue is : I want to use the draggable() method of jQuery UI. It seems ...
0
votes
1answer
71 views

How to sort a fabricated column in my view that I've stitched together with data from multiple columns?

I have a view that displays a list of data from a table (I'm targeting Joomla! 3.5+). However, I fabricated a column that stitches data together after some manipulation. I do this in the getItems() ...
0
votes
0answers
20 views

Explain Different Dialog Appearances?

I'm having a problem with a modal dialog. It's not displaying consistently, and I'm not understanding the issue. If you go to this page: http://joomla.connectdaily.com/index.php/calendar click on ...
0
votes
1answer
86 views

remove Js alert in home page

I dont know whats the probleme , to be honest i have no idea how joomla works i have a joomla website and every time i visit the homepage a JS alert shows up i really could not find the solution , ...
1
vote
0answers
139 views

Mapping “asset_id” and “ordering” fields of joomla content table using RSform pro mapping feature

I am creating articles in Joomla 3.5.1 using the mapping feature in RSForm Pro 1.5.14 (senting field values on joomla table _content) . The only fields that I can't map correctly are asset_id and ...
1
vote
2answers
188 views

Calculate end date based on start date and duration

My goal is to calculate and show end date based on my start date by date picker and doprdown to choose number of weeks. I have Jquery datetimepicker http://xdsoft.net/jqplugins/datetimepicker/ to ...
1
vote
1answer
232 views

Bootstrap 3 Carousel not starting automatically

I am having trouble getting my bootstrap 3 carousel to work. On the site it will automatically advance if you first click to advance a slide. I have disabled the pause on hover. I tested it on Code ...
1
vote
1answer
470 views

Show Form Field if AJAX-response is false

I would like to extend my component with some interaction. For this purpose I try to show fields in a form only if necessary. This works fine with showon-declarations in my form.xml. Now I would like ...
0
votes
1answer
52 views

How to add module's JavaScript in the header when in Javascript code used php variable

I have joomla module, in the module I have this jquery script, I want to show this javascript from js file in the of joomla but there is problem php variable how can I make this? jQuery(...
1
vote
1answer
19 views

Slider content showing and then hiding

I'm having an issue on a website where all of the sliders (there are 4) are being shown before quickly disappearing. The site URL is: http://185.123.97.225/~smithsde/index.php On investigation ...
3
votes
1answer
134 views

jquery mini slider, generate unique id

On my Joomla site, I am using a jQuery gallery, where there are 2 instances of it. The problem is that upon hovering on a thumbnail to show as the main image, it shows that image on both galleries. ...
0
votes
2answers
338 views

jquery.minicolors.js with opacity

I know that the jquery.minicolors.js used in the color input field support the opacity and rgba as option. Is it possible to use them in the color input field? This is the default Joomla! color ...
3
votes
1answer
74 views

Append id to every link generated by joomla

I have an affiliate system that can generate a users affiliate id with a {affiliatecode} if they are logged in and i would like every joomla page to append the users affiliate tracker id to every page ...
0
votes
1answer
488 views

jQuery autocomplete @mention

I have a json encoded string which contains a couple of users: $users = json_encode($helper->getAllUsers()); a textarea: <textarea id="jj_message"></textarea> and am using the ...
1
vote
1answer
561 views

Bootstrap Dropdown Navigation Toggle Not Working with native Joomla jQuery

I'm trying to implement a Bootstrap menu with a toggle dropdown on a Joomla site. Got most of it working except for the toggle isn't working...Looking at inspect tool when .dropdown element is ...
1
vote
1answer
634 views

Passing form value using Ajax

Referring to my previous Question jQuery Ajax for three drop down On page1) I will select dropdown Building (populating from db) and dropdown Floor (by Ajax call) then url will pass like: index....