Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
13 views

Cannot insert image in k2 article

I'm facing an issue on the backend side of my Joomla 3.9. I'm using K2 as the content builder and set TinyMCE as default editor. I wanted to insert an image by using the modal button "image", but, as ...
1
vote
0answers
34 views

Echo PHP output in a slider effect

I'm fetching data using for loop and echo results on a page. How do I output the results in a slider effect? I have tried a simple CSS slider but can't get the intended result. What I end up getting ...
1
vote
0answers
298 views

RSForms - Change the items of a radio group based on a selection of a drop down

I need to change the items of a radio group based on a drop-down selection in RSForm pro. Right now I'm using the Conditional Fields feature to show different radio group field and that caused too ...
1
vote
0answers
41 views

stop reloading the page when choosing a payment method in virtuemart checkout

on virtuemart checkout process, on choosing the payment method, when click on the radio button, page reloads. i have wrote a function that does something when page reloads or refreshes. but the ...
1
vote
0answers
14 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 ...
1
vote
0answers
111 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. ...
1
vote
1answer
886 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 ...
0
votes
0answers
57 views

Presentation API PresentationRequest is not defined

I've been trying to integrate this API: https://googlechrome.github.io/samples/presentation-api/ with my project. However, it always generates this error in the browser console: Uncaught ...
0
votes
0answers
84 views

Adding li to ul causes all li to end up outside the ul

I have a page that has the following uls on it: <div id="team1" class="team_name">Desperate Housewives <ul class="sortable ui-sortable" id="sortable_1" ...
0
votes
1answer
38 views

Send values from article to article

I have two articles in my Joomla site. One article has various links to the same article. The other article display, with code of java script, the HTML content of a file depending on what link was ...
0
votes
1answer
204 views

Parsing Error Javascript in php include page on the test server

We're getting this error in our test environment: Parse error: syntax error, unexpected 'var' (T_VAR) in /home/usaspo5/public_html/dev/usgnew/components/com_usg_programs/tmpls/default.php We have ...
0
votes
0answers
122 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 ...
0
votes
0answers
553 views

How do I make a system message appear with Javascript with the right CSS?

I would like to make a system message appear using Javascript. I have used the following code so far to make the system message appear: var jmsgs = ['Deletion cancelled - no records deleted.']; ...
0
votes
0answers
463 views

How to disable fields in a fieldset?

I am using this code to disable fields in the form based from what I have searched in stackoverflow: jQuery('#reportFilters').children(':input').prop("disabled", "disabled"); But it does not work. ...
-2
votes
2answers
357 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 ...