Questions tagged [ajax]

AJAX (Asynchronous JavaScript and XML) is a technique for creating seamless interactive websites via asynchronous data exchange between client and server. AJAX facilitates communication with the server or partial page updates without a traditional page refresh.

Filter by
Sorted by
Tagged with
40
votes
6answers
31k views

What is the proper way to make an AJAX call in component?

I am developing a custom component for Joomla! 3.x and want to make an AJAX call inside it to retrieve some data. What is the proper way to do it?
3
votes
3answers
4k views

Using AJAX in a custom module - how to do it?

I think this might be useful in future for many others. First of all, I know that there's com_ajax for this kind of a job, but I do not want to use it. Is there an alternative? What I got: default....
2
votes
3answers
3k views

Sending POST data within module - AJAX

Requirements for this task is - I can NOT use any type of components (com_ajax is out of the options list) GOAL: send post data if checkboxes are 'checked' using ajax within custom module. Is my ...
4
votes
2answers
1k views

How to get Ajax response within a Module?

I am coding my first experimental administrator/module so that I can understand how Joomla performs ajax calls. I only need to refresh the content of my module with some server info and a couple of ...
3
votes
1answer
2k views

Load K2 article with ajax

I am using the category layout to feature articles on my front page with joomla 3.3. I am customizing this view so that the article links pull the articles into this page via ajax on click. This is ...
2
votes
1answer
2k views

Loading the options of a select form field via jQuery Ajax

Basically I am trying to load a front-end form select field via jQuery AJAX. The XML form field is <field name="student_ids" type="list" required="true" label="Select Students" multiple="...
11
votes
2answers
2k views

Return JSON using the Joomla Framework

I have started building a web application using the Joomla Framework. It consists of a simple web page which will be displayed in an iFrame along with an API that will be used to update the content ...
2
votes
3answers
462 views

How to execute an ajax script to update form fields in an .xml file rendered by Akeeba FOF?

I would like to populate the "Owner" select option list by SELECTing the owner column from the #__gscrm_accounts table WHERE the gscrm_account_id (primary key) is the selected "Person or Business" ...
1
vote
1answer
719 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....
3
votes
4answers
762 views

Override default php session

I'm building a AngularJs app using joomla in background. The AngularJs app get loaded once and then calls the server always through ajax. Some calls happen simultaneously. If I'm using the default PHP ...
2
votes
2answers
1k views

Call php function in backend of module

I am trying to call a php function from the backend of a module (I'm using a custom form field). com_ajax does not work because it pulls the current menu item, which doesn't exist since it is not ...
1
vote
3answers
688 views

Joomla calendar popup does not appear when loaded by ajax

I'm loading a calendar field via jquery ajax. When I click the calendar button nothing happens. The calendar popup is not showing. in model.php $tr = "<td>" . JHTML::_('calendar', '2015-09-09'...
1
vote
1answer
773 views

JText language doesnt work inside external ajax file

I'm using an external ajax file to perfom an ajax call inside a module.( i didnt want to edit controller or make a subcontroller just for one call ) jQuery(document).ready(function($){ $(document).on(...
0
votes
1answer
922 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 ...