Ajax is a group of interrelated web development techniques used on the client-side to create asynchronous web applications.

learn more… | top users | synonyms

0
votes
0answers
9 views

Help with debugging and fixing errors with SalesForce Mapping Module

For Drupal SalesForce Suite I am having the follwoing Errors show up in my log messages When I select from the Drupal Entity Type , Drupal Entity Bundle, and Salesforce Object I get these errors ...
0
votes
0answers
21 views

An AJAX HTTP error occurred in Drupal View

I got an Ajax Error when i am submitting the Appl(all display) in Views. The Following Error Displaying Popup: "An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: ...
-1
votes
2answers
57 views

How to create a single page application in Drupal?

I know Drupal and now I am creating a website by Laravel framework. I know what are single page application and how better they are. I used Angular and Backbone as JavaScript framework/library to ...
0
votes
0answers
16 views

Ajax - Dependant Autocomplete based on select list

I am trying to implement the solution that PrestonDocks gave to this question but am having 2 issues: When the fields are displayed on my form they are being inverted. The exhibitor field is coming ...
0
votes
0answers
20 views

Drupal behavior not working with Views ajax

I have a problem with applying my js to Views after its filter is changed using ajax. I'm really tearing my hairs out for a while... As obvious in this question - my js is applied only on first load, ...
0
votes
0answers
25 views

Render checkbox in a table row on click of button with #ajax property

I have a form element in hook_form as below, $form['check'] = array('#type' => 'checkbox',); and also an add button, on the click of which a table renders, with a checkbox in every row each time ...
0
votes
0answers
6 views

Using Lazy Pane: How to cache a panel pane after it was loaded using ajax

I have a panels page that uses Panels Tabs loading panes with Ajax. It uses the module Lazy Pane https://www.drupal.org/project/lazy_pane, but a solution with any other module or method is welcome. ...
1
vote
1answer
23 views

Drupal Commerce: Prices on Variations not displayed when selecting a variation

I am using Drupal Commerce Kickstart 2. When a user selects a value from the size drop down (variation), the price and other attributes do not update on the product display. I need to have something ...
0
votes
1answer
15 views

Ajax progress bar using example module

I am new to drupal, currently learning about example module and its sub module, I already created the form using custom modules, in that form I wish to add progress bar for submit button, i referred ...
0
votes
0answers
15 views

Trouble picking up Open Graph tags on page load

I am having issues doing a simple jQuery select to pick up the content of an open graph tag. The website this is an issue on makes heavy use of ajax, every page is loaded in via an ajax call. The ...
0
votes
0answers
5 views

Howto archive a new response page for a view block with exposed filters?

In drupal 7 i have created a view with a page and a block. Inside the views block I have exposed filters. I placed this views block on the frontpage. The exposed filters only work with ajax enabled, ...
1
vote
1answer
13 views

Ajax in a form produces an error

suppose this form: function test_ajax_form($form, &$form_state){ $form['school'] = array( '#type' => 'textfield', '#title' => t('School'), ...
0
votes
0answers
10 views

Ajax File upload breaks/repeats all custom javascript

I've created a multi-step entityform which includes a file upload field. Everytime file is uploaded the form navigation breaks. Nothing happens when clicking next or prev buttons and there's no ...
-1
votes
0answers
20 views

Problem with Taxonomy Terms and add image

I need some help to add articles to web. I cant add taxonomy terms or image.
0
votes
0answers
6 views

Repopulating DataTable via AJAX

The setting: I'm currently making an application which will handle the ordering process for a company. I currently have clients, products and orders which work perfectly well. Now I'm trying to add a ...
0
votes
0answers
6 views

drupal_realpath in ajax php script not working

I have an AJAX script, which boostraps the drupal system to get access to the drupal functions. The I like to convert a file's internal uri (e.g. "private://test.jpg") to a local filename (e.g. ...
1
vote
0answers
37 views

how to hide and show custom filter form on a drupal view

ok im new to drupal and im trying to create a view with many filter options, because it has alot of filter fields i want them to be hidden and only show the filter fields the user decides he wants to ...
0
votes
0answers
12 views

managed_file upload clearing $form_state

I am having an annoying problem whereby $form_state['values']['region'] and $form_state['values']['country'] are being cleared when I upload an image via the managed_file field. This is causing a ...
-1
votes
2answers
25 views

Insert query using ajax drupal

I am totally new to Drupal Ajax. In my projects one simple form with submit button only there for insert "yes" value to Database. so it should be done with Drupal Ajax. So When that button submit the ...
0
votes
0answers
15 views

Validation on AJAX loaded webform

I load a webform when a user clicks on a certain button. $.ajax({ url: '/js/project-contact', type: 'GET', cache: true, dataType: 'json', success: ...
0
votes
0answers
14 views

Ctools modal with #ajax fields causes Fatal error: Call to undefined function ctools_plugin_get_function

I'm creating an access plugin for Ctools so it can be used on a page manager page for the access rule. I currently have the following code. $plugin = array( 'title' => t('Listing count'), ...
0
votes
0answers
12 views

Rules Link: how to immediately switch link label at click

There are two issues here: - to switch link label at click - to make the label show immediately at click and process the rule in the background This all in order to speed up things for the users. I ...
0
votes
0answers
16 views

How to ajax refresh one row in a view

Views are often used to modify entities (for example tasks and their status or priorities) and when a field is changed using an ajax button, a page or view refresh is required to update the rest (like ...
4
votes
2answers
79 views

How to get Form API #states selected value onchange?

When I'm using #states to set the visibility of a form field I'm checking an input element for its value. Is there then any way to grab the selected value the moment it's selected? In the working ...
0
votes
2answers
30 views

How to update a views row class in real time clicking a Flag (ajax) link

Flag allows flag toggle link to use ajax, but that does not update the row class in real time. Only the field class is changed. Question is how to make the row to have a class when the flag link is ...
0
votes
0answers
15 views

Field Group Ajaxified Horizontal Tabs

There is a module that allows ajax-load of multipage fieldgroups: https://www.drupal.org/project/field_group_ajaxified_multipage I need the same functionality for horizontal tabs fieldgroups, instead ...
0
votes
1answer
35 views

Getting an error while installing drupal 7 using xampp

Getting an error while installing drupal 7 using xampp An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: ...
0
votes
1answer
40 views

ajax http 500 error while editing panel in drupal 7

I am getting this error when I tried to edit my panel in drupal 7. An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: ...
0
votes
1answer
23 views

Allowed strings for the text field

I have the form which is created through Webform module and now I need to add one more text field but its value has to be unique and can be only the value from some predefined list of allowed values. ...
0
votes
0answers
20 views

How to create a fieldset in a node form, that expands with ajax

I have a (view of a ) tasks list on a page, and also a form block where users can add a new tasks. I want to increase page load time by hiding some fields in the tasks form block, which can expand ...
0
votes
0answers
21 views

Initial form value not set by AJAX on first page load (commerce single checkout page)

I have a shop in Drupal Commerce where I want the user to give the address, select the shipping and payment methods on one page (with the order review page happening earlier), with the shipping cost ...
0
votes
0answers
37 views

How do I update an entity with ajax from a jQuery click event in Drupal 7?

I have a custom module for notifications as a block and I am trying to use AJAX on a jQuery click event to update a timestamp in a user flag for the current user. The module works without the AJAX. ...
0
votes
0answers
44 views

Image / File AJAX form fields not saving

I built a AJAX form so that users can setup their user profiles after logging in. All basic text fields work/update fine. But I can't for the life of me get a image field (Picture) or file field (PDF ...
0
votes
0answers
23 views

Fix view ajax load more button

I have a view with a custom filters form, which is submitted via AJAX. In the AJAX callback function, I am setting some arguments to the view and render it manually: $view = ...
0
votes
0answers
12 views

Why can I not enable or disable views in admin/structure/views?

When enabling/disabling a view in the Administration/Structure/Views section I get an error: An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: ...
0
votes
0answers
11 views

AJAX Webform graphical bug?

I am using https://www.drupal.org/project/webform_ajax for Drupal 7. I have a webform that is being submitted using ajax with the module above. heres what the form looks like: however, if i submit ...
3
votes
4answers
147 views

How to prevent Autocomplete Caching?

I have made textfield to be autocomplete field by using hook_form_alter. mymoudle_form_alter(&$form, &$form_state, $form_id){ $form['field_state']['und'][0]['value']['#autocomplete_path'] ...
0
votes
1answer
17 views

Update payment method pane with ajax

I have the coupon pane, the order review and the payment info panes all on the same checkout page. When I add a coupon, an ajax callback is fired and the order summary is automatically updated to ...
0
votes
0answers
18 views

Internal Server Error when creating view - where is it logged?

I am struggling with Views 7.x-3.8 on my Drupal installation. I was playing around with some modules, however I disabled all of them now, but there is still an annoying issue. When I navigate to ...
1
vote
0answers
35 views

Ajax form works on page but not on block

I've created an ajax form with drupal API. The ajax functionality works if I render the form on a page with hook_menu, but it doesn't when I render it in a block. This is how I create my block: ...
0
votes
0answers
208 views

how to pass session id with services using ajax

i am trying to get authenticated data after login with services module. ive a drupal services set up at openshift and the htmls are in my devices. i managed to login, get authenticated, get the ...
0
votes
1answer
20 views

Is it possible to determine what attachments (JS libraries, CSS, etc.) are required by a node form?

I'm developing a solution which allows users to create content through a custom AJAX-driven UI. The first step in the process requires users to pick a content type from a dropdown list, which will ...
0
votes
1answer
42 views

Views Load More pagination causes duplication

I am encountering an issue with Views Load More with Waypoints module. My question is more focused on the next contents that are retrieved. Because there are new contents added to the top, the page 2, ...
0
votes
1answer
24 views

Exec JS after flag ajax result

In my portal I need to use "flags" module to create a simil twitter "follow/unfollow". I have installed and configurated this module. All works, via AJAX too. Now I need to exec some other JS ...
0
votes
1answer
30 views

Exposed filter AJAX error

I have put an exposed filter on my page, which is an auto-submit textbox without any submit button. When I put the focus on this textbox and refresh the page with no value inside the textbox, the page ...
-1
votes
1answer
27 views

ajax update block on click to link

I am using jQuery Ajax Load module in my site to load some contents from url to show on specific div which has a required class. With this module I am able to fetch the Page content from URL through ...
0
votes
0answers
7 views

Problems with a “filter field options on term refernce” ajax callback

I'm having problems with a "filter shops on section" ajax callback, when field_sections (term reference with unlimited values) changes field_shops (entity reference) should show all shops with the ...
0
votes
0answers
35 views

Can't replace page content on node from ctools modal

I have a custom field formatter on an Event node that displays data from a multifield in a simple HTML table (the multifield has a user entity reference field and a text field that contains a number ...
0
votes
0answers
14 views

How to attach an event to manually added form fields

I am using Ajax to change the values of some selects, I actually do replace the old select with the new one, but unfortunately the on change event is no more available, even if I manually added the ...
0
votes
0answers
33 views

Passing Exposed Filter values from one page to another

I have a view panel which has ajax enabled and an exposed form which I use as a search. I have placed the exposed form in a panel which is available sitewide (via panels), when I enter a matching ...