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 [javascript]

JavaScript is a dynamically-typed language commonly used for client-side scripting. Unless a tag for a framework/library is also included, a pure JavaScript answer is expected.

1
vote
2answers
91 views

Easiest way to make a dynamic 'assessor' or 'quiz'

I was working on a Joomla website with mainly HTML + CSS. I'm learning Java, but have barely any experience in JavaScript, though when reading the code I can eventually understand it. All I wanted ...
0
votes
1answer
52 views

ReferenceError: openMyModalNew is not defined error in Ijoomla Guru 5 [closed]

Little time ago I install Ijoomla Guru 5 and only now I realize that tutorials not opening in modal window. I get error ReferenceError: openMyModalNew is not defined. As right now I haven't access to ...
1
vote
2answers
366 views

Add <script> tag before </body> on only certain pages?

I am fairly new to Joomla (using for less than a year) and I need to find a way to place a script tag before the tag in joomla. This is for marketing (call tracking) purposes. I have seen some ...
3
votes
1answer
614 views

how to Validate captcha before submit a form in joomla

I have installed 5 captcha plugins in my joomla site and i set any one captcha out of 5 in com_users configuration in backend of joomla. So how can I want to validate that captcha from client browser ...
0
votes
2answers
105 views

Extreme Joomla Optimization

Hello all Joomla StackExchange users, I am developing I site which is particularly complex and uses a lot of CSS and JS assets to work properly. Usually, I would fine tune JCH Optimize to get the work ...
0
votes
1answer
316 views

Virtuemart conflicts in dropdown only sometimes

I am using Virtuemart and enalbled a "Multi-Variant" options. It nearly works, in the sense that only sometimes the product page (which has the custom options dropdowns) gives a JavaScript error. Some ...
0
votes
2answers
41 views

Accessing Jdatabase via JavaScript Or Passing PHP varibles to JavaScript

I want to use this SVG Pie Chart on my Joomla site but the problem is I need to access data from Jdatabase and feed it to its index.js $(function(){ $("#pieChart").drawPieChart([ { title: "Cash"...
0
votes
1answer
264 views

Please correct the path for Joomla Javascript Async and Defer plugin

Hello i want to Defer parsing of JavaScript of the following link in joomla by using Javascript Async and Defer plugin. http://www.domain.com/media/plg_jchoptimize/assets/gz/1/0/...
1
vote
1answer
57 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 ...
1
vote
1answer
673 views

Can't insert intro/full article image

For some strange reason I cannot insert intro/full article image in articles anymore. On "Images and Links" tab, I click on button to add images. Popup screen appears and then I paste image url in "...
0
votes
1answer
37 views

Javascript errors showing on site, assets folder not found

This page: http://www.smithsdetection.com/index.php?option=com_k2&view=item&id=19:prime-alert&Itemid=1417&lang=en#.V4YfGzVctmM is showing the various javascript errors: When you ...
0
votes
1answer
94 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 , ...
0
votes
1answer
81 views

Event Booking - Javascript error on function

I started having a strange error on some pages. The website has been working fo the last 3 years with no problem. We sell IT courses and have pages for both individual and group registration. Group ...
1
vote
1answer
252 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 ...
0
votes
2answers
620 views

Upgraded from 2.5 to 3.5 : Joomla.JMultiSelect, Class is not defined

I've upgraded an old site from 2.5 to 3.5 and have managed to fix everything except this error : Uncaught ReferenceError: Class is not defined @ multiselect.js:12 Uncaught TypeError: Joomla....
1
vote
1answer
125 views

How do I resolve the conflict between MB2 Portfolio component slider and /media/system/js/mootools-core.js?

I am using MB2 Portfolio with the built in slider to display some projects. The problem is that every other image in the sliders collapse. Inspecting them with FireBug shows that every other div is ...
1
vote
0answers
13 views

Need some suggestion regarding strategy of scraping article view times from another webpage to use in K2 item

I am building a video blog page using Joomla 3.0 + k2 hosted on my own Ubuntu 14.04 server, the videos will be uploaded to sites like youtube or vimeo too. I want to show the viewed times of the ...
2
votes
1answer
827 views

Run MySQL Query From Button Click

How can I run a MySQL query from the onclick event of an HTML button on my site? For example if my button is created like so, how could I use this to run a MySQL query titled AddInfo <p><...
1
vote
1answer
647 views

Is it possible to override js scripts?

I'm using a layout override to modify the cart module for Virtuemart, but the ajax request deletes part of my code when it updates. Because of this, I would like to change not only the template, but ...
1
vote
1answer
60 views

Assigning ID to javascript function

I am developing a module (see here for details Mixing PHP variables and JS variables in output) this shows multiple uses of the same javascript function, as follows: $key = $params->get('key');...
2
votes
1answer
129 views

Mixing PHP variables and JS variables in output

I am trying to develop a module to use JWPlayer's URL Toekn Signing (docs can be found here http://developer.jwplayer.com/jw-platform/reference/v1/content_signing.html) but I'm having an issue with ...
1
vote
0answers
102 views

Plugin conflict troubleshooting

Joomla 3.4.8. T3 Joomlart JA University Template I have been experiencing some conflicts certain plugins I have installed on my site, two in particular - only one of them seems to work at a time. ...
2
votes
1answer
88 views

mb2portfolio increase skills limit

I am using a component called mb2portfolio with Joomla 3.4.8 and I'm having difficulties with the skills limit. It seems that the skills limit is set at 12, but I need 25 as the limit. Please could ...
1
vote
1answer
651 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....
0
votes
1answer
134 views

Page Jumping on Load

The website in question is www.grip.org.za/joomla/ The issue is that whenever I load one of the pages on the menu, the whole website moves to the right a bit, then back to the center/default ...
0
votes
1answer
732 views

jQuery Ajax for three drop down

Hi i have three dropdown, The first one populating value from database, Second and third will get their values by ajax call. And the problem is at first loading of the page when i'm selecting the ...
0
votes
1answer
441 views

Filtering dropdown form with jquery.ajax

i have two dropdown getting value from database: Table_Buildings |id|---|building_name| Table_Floors |id|---|Floor_name|---|building(Foreign key to table_Buildings)| and in my form Dropdown: ...
6
votes
2answers
374 views

What are the JS dependencies of the Joomla frontend editor?

The Problem I'm trying to implement a functioning frontend editor within my Joomla template which has been developed in-house at my company. For the most part it works - a user can make basic text ...
1
vote
1answer
324 views

Ajax multiple module instances

I have created a custom module (test) that has two buttons - a forward and a backward button. When clicked, the Joomla Ajax Interface is used to call the getAjax() function of helper.php. This works ...
2
votes
1answer
994 views

Submit to RSform! pro from anywhere using jQuery ajax

I'm in the process of making an administration app for Joomla RSform! pro. The app is hosted as an article so it is on the same domain as Joomla itself. I need to move or copy a submission from one ...
0
votes
1answer
74 views

Javascript - next button for image gallery

I'm trying to make a simple gallery for my website, I need to display an image thumbnail and a table side by side but I've got problems with the next button! I'm working on the image atm, but when I ...
5
votes
1answer
2k views

How to manage language variables inside javascript

In my custom component I do a lot of javascript validation for each view. The validation throws various error messages and those messages are configured inside the language file en-GB.com_mycomp.ini ...
1
vote
2answers
320 views

JS loaded from template won't run inside custom component

I created a module position at my template where I load a custom module which is a menu bar. with the next script I change its position to fixed if someone scrolls more than 200px so that the bar ...
2
votes
1answer
722 views

How to call jQuery in joomla on specific script

I' m trying to use jQuery contextMenu within a joomla 3 site. The basic jquery code for the menu is: $(function() { $.contextMenu({ selector: '.context-menu-one', callback: ...
2
votes
1answer
303 views

JavaScript file not loading before dom

I'm trying to get slick carousel to work on my Joomla 3.4. I did this on a test page without having Joomla and it worked fine! I tried everything! the problem seems like the script is loading before ...
0
votes
1answer
371 views

Get external javascript file to work in joomla

I have a menu using IFrame Wrapper so that I can link to my own coded php page. Inside the php file is just listing down the data on table and I have search box so that user can filter the data ...
0
votes
1answer
260 views

How to implement this php code?

So I have this php code in my joomla site (joomla's latest article module) and id I'd like to add a bootstrap tooltip to the title of my links. Can someone point me in the right direction as to how i ...
2
votes
2answers
834 views

Change Element Background During Scroll

Trying to get this script to work on this site: var t = $('#preschool-program').offset().top - 120; jQuery(document).scroll(function(){ if($(this).scrollTop() > t) { $('...
1
vote
1answer
257 views

Adding defer to optimized javascript in T3 Framework

I am using T3 Framework as a template for Joomla. In it's options there are options for optimizing Javascript and CSS. If set to ON the framework minifies and joins Javascript to 1 or 2 files that are ...
0
votes
1answer
1k views

TypeError: jQuery(…).slicebox is not a function

Ok so I'm trying to use slicebox on my website and I can't get it work. It gets loaded, I mean the module is there, the script goes into the page but nothing is really shown. If I don't load it's ...
3
votes
2answers
2k views

Email address being protected from spambots

I've only noticed this issue on one of my sites. I recently upgraded it from 2.5 to 3.4 On certain (k2 contact) pages where there is an email address displayed I am seeing this right beside the email;...
0
votes
1answer
197 views

Mobile menu not working

I have got caching turned on for this website: http://storm.agency/ But I am not caching the nav module, also cleared any cache but the mobile menu is not dropping down when viewing the site on a ...
-2
votes
2answers
354 views

How to access the email of the user who created a submission?

I have the following working javascript code: var user_email = document.getElementById("jform_user_email"); user_email.value = "<?php echo JFactory::getUser()->email; ?>"; The next lines ...
1
vote
2answers
50 views

Updating component's main window when clicking on sidebar

I'm developing a component that will work as an explorer for Joomla, with a treeview on the sidebar and a list of elements on my component's main window . What I don't know how to do is, when clicking ...
2
votes
1answer
258 views

CSS/JS compression distorts the website template/look

My website has a score of 50/100 on pagespeed. I am trying to improve it's load speed. When i implement compression either via template (T3 template option)or JCH plugin the website completely looses ...
5
votes
3answers
1k views

Load javascript script before </body> closing tag

I'm using $doc->addScript($path.'/js/script.js'); to load a Javascript file inside the head section. Is there any native way to load it in the bottom of the page, before the closing </body> ...
3
votes
2answers
421 views

Save Dynamic Array of textboxes

I have developed a code to create dynamic textboxes on click of "Add" button using javascript - Javascript function GetDynamicTextBox(value,index) { return '<input type="text" name="...
1
vote
1answer
718 views

Add click event on bootstrap tab?

How to add an onClick event on Joomla bootstrap tabs. https://api.joomla.org/cms-3/classes/JHtmlBootstrap.html echo JHtml::_('bootstrap.startTabSet', 'myTab', array('active' => 'monday')); echo ...
1
vote
1answer
69 views

Detect position of loading Javascript libraries in Joomla frontend?

Is there a way to detect position of loading javascript libraries in Joomla(my goal is 'framework.bootstrap'). because I currently follow this post but after using "unset" method from [JDataset][2] ...
0
votes
0answers
119 views

Joomla Contact Enhanced required field jquery

I am using joomla contact enhanced form component for my site. Now when I submit the form without the required field, the page is not scrolling back to the top rather it's stuck in the bottom section ...