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
10 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 ...
-2
votes
0answers
9 views

Ajax slow on chrome and explorer [on hold]

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <div class="up-score">upscore</div> <div class="test">test</div> ...
1
vote
0answers
23 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
25 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
13 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
28 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
16 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
18 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
11 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
4 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
14 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
10 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
16 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 ...
1
vote
1answer
12 views

Form inputs being disabed during the Ajax request

I'm working on a module where I have a form inside of a block, I'm using Ajax to submit the form, but I noticed that the form's inputs are disabled when sending a request with Ajax. Well in my case I ...
0
votes
0answers
8 views

Ajax callback does not replace the form but add a new field

I use his code to populate a select after giving à zipcode. $form['responsible']['zipcode'] = array( '#type' => 'textfield', '#title' => t('Zipcode'), ...
-1
votes
0answers
12 views

Drupal View pagination loads whole page how to preven this?

Drupal View pagination loads whole page how to prevent though I have enabled ajax in view and my theme supports ajax, so many other ajax things are working properly.
0
votes
0answers
31 views

Views Pager with ajax not working on any theme

Views pager with Ajax loading is not working on any theme.. I tried Bartik, Seven, garland Themes .. also tried to disable all modules but still not working. I also tried enable/disable ajax in my ...
1
vote
0answers
13 views

Alter ajaxified webform confirmation

I manage this website wich was built by somebody else. The client wants me to implement some google tracking codes on several webform confirmation pages. These webforms call the confirmation message ...
1
vote
1answer
37 views

Ajax button in admin

So I figured I'd create a configuration for my module. I created a normal form with some fields to let the users configure the module with variables. I also added a button which would do an ajax-call ...
0
votes
0answers
21 views

Max File Upload Size set to big, but Ajax Error with old file size

I have changed the max file size and the max body size in my php.ini to 15 MB. It used to be 2 MB. Drupal displays the max file size correctly, but when I try to upload files bigger than 2 MB - the ...
0
votes
0answers
12 views

webform in poup block with validation

I have changed my web form as a block, through Formsettings -- > avalible as block option. In that block settings use this block as a popup using popup block module Now My problem is while submit ...
0
votes
0answers
56 views

Dependent multiple selection drop down in drupal form - illegal choice error

I'm new to Drupal , in my project I have 2 multiple select drop down box. I don't know how to do dependent multi select drop down action in drupal form alter function using ajax. Single selection ...
-1
votes
0answers
22 views

Views bulk operations is giving the Ajax error and showing the code

I created a view that displays the registrations of events. I used views bulk operations to approve all requests at a time. When i select change registration state from the drop down list and clicked ...
0
votes
1answer
12 views

Create and pre-populate a mutiple value field in field collection on new node with ajax call

This question is in the same area as a previous I asked (How to create (& pre-populate) multiple “field collection” fields on an ajax call), but with the extra level of complexity that I'm trying ...
0
votes
1answer
30 views

Drupal Form Button + “Are you sure”-Button

I am trying to add an own JS function to a Drupal Core Form - think Config, Development, Clean Cache. This function basically just asks if the user is sure. Here is what I have so far: ...
-2
votes
0answers
39 views

Ajax http error Occured. Http result code:200, Path: /views/ajax

I'm working with Drupal website. Version : 7.3.4. In listing page, when we click on the Page number 2 (or) Next link, it ends up with Ajax error as shown below (Returning json data). I was ...
0
votes
0answers
19 views

Need to load form manually after autocomplete field value selected

I'm fairly new to Drupal and have spent most of my time in the form API. The one thing that is perplexing me is how to load the field values of a form after a value has been selected in my auto ...
2
votes
2answers
69 views

How to create (& pre-populate) multiple “field collection” fields on an ajax call

This is an extension of this question - "How to pre-populate multiple "field collection" fields in node form" I'm trying to do the same thing, but I'm trying to get it to work on an ajax ...
0
votes
0answers
20 views

“Reset” all flag

I'm working on a site that uses the flags module. each user needs to be able to "reset", or "clear" all the flags they have set with a single button. The button is displayed from a content block that ...
0
votes
0answers
24 views

Making text field as autocomplete fields not invoking ajax for second Instance with same set of letters

I have made text-fields to be auto-complete fields programmaticaly using hook_form_alter. This is a dependent ajax, based on country selected, state values will be dynamically showing as ...
0
votes
0answers
24 views

Commerce Ajax Cart does not work

I installed Commerce Ajax Cart module to update Cart status in Drupal commerce site. After that I rebuild Cart View (in Views) - I made my one. Now I see that Ajax Cart does not work. To update Cart ...
0
votes
0answers
18 views

dropdown whose options are dependent on a choice made in a previous dropdown.in drupal 7

I have two taxonomy (class type and level) ..i load one in dropdown (class type) and another depended on result of choice (level). I handle lot of case (when choice class type load level ) && ...
2
votes
1answer
98 views

AJAX returns response code 200, and displays error messages in callbacks

I'm running Drupal 7.34 with quite a few modules (relevant because unfortunately I did not notice when the problem first started and it would take ages to look through them all one by one) and I have ...
0
votes
0answers
16 views

Update Textfield outside of form on ajax callback

I have a page contains two forms, I want the fields in the second fomulaire either change when ajax callback launches the first form. How to update Textfield outside of the form on ajax callback ? ...
2
votes
0answers
56 views

Form with AJAX callback inside an AJAX callback doesn't work

I hope the question doesn't sound strange. In a nutshell: I have a Drupal form, but I am adding it to the page as the result of an AJAX callback. I need this form to trigger a new callback. My code ...
0
votes
1answer
12 views

How to validate an AJAX form which uses CTools?

I have a form which opens in a modal CTools window. The forms submits perfectly, but when I try to use the my_form_validate() function, it never goes to that function, it always go directly to ...
0
votes
0answers
32 views

Load ajax events view based on calendar block click

I have configured Calendar module for event listing, I have a mini calendar block that when clicked should load the events views without refreshing the page. $("#block-views-calendar-block-1 ...
-2
votes
1answer
16 views

field_view_field returning 500 error with ajax call

I have an reply field with a custom entity . I have created the reply field with reply module. I just call the field_view_field in a page. Then my code for that page : function my_module_menu() { ...
0
votes
2answers
39 views

form_set_error() redirects to raw ajax response page

I have a page with a simple view. Above the view there is a menu link that when clicked loads a node form with a required file field. The form is fetched and loaded using ajax_commands into a div on ...
-2
votes
1answer
101 views

Clone field collection row value in form on add another item

I am new to this community and I hope I will be clear in my support request. I have a custom form that uses nested field collection items as follows: > form > form_field_a > ...
0
votes
1answer
41 views

CSS not working after Commerce AJAX processed on field

I have got a problem with css after Drupal processes radio buttons on Drupal Commerce product page. Radio buttons are formatted (images instead of typical radio) Formatted radios After clicking ...
0
votes
0answers
90 views

How do I get ajax callbacks from working example to execute in Views handlers?

I can't seem to get a callback function to execute in Drupal 7 Views 3 argument handler. All I want to do is have one displayed form element change when the user changes another. Simple. This ...
0
votes
0answers
75 views

Drupal behaviors has conflict with .load() jQuery method

I am using drupal behavior i need to reload a menu after any ajax request. i have a jQuery function to reload the menu by .load() method. menu items reload properly after any request. but when i ...
0
votes
1answer
21 views

Built-in AJAX versus custom AJAX

As the title suggests, I would to know what are the pro and cons of use Built-in ajax of drupal compared to a custom ajax code. I created 100 <li> with images on a page through a callback ...
0
votes
0answers
24 views

Drupal Commerce changing product attributes not firing AJAX update

I'm currently building an e-commerce website using Drupal 7 and Drupal Commerce (not kickstart). I've built my product display page, and added an attribute to the product called "size" where the ...
0
votes
0answers
21 views

AuthCache and Drupal Commerce Ajax Attributes change

I have an implementation of Drupal Commerce with many many field collections and other data on our products, colors, attributes etc. That makes the product object render around 7-10seconds, and I need ...
0
votes
1answer
41 views

How to validate file is selected or not on ajax processed drupal 7 jquery validation

Hi I am trying to do jquery validation on file upload for file is select or not. I want when user click on upload before submit check file is selected or not. if not stop ajax request. Any Idea to ...
1
vote
2answers
63 views

Attach an #ajax callback to a field when the form is reloading from previous ajax request

Is it possible to attach an #ajax callback to a field when the form is being regenerated from a previous ajax event (like a submit button)? What I tried Adding the #ajax callback to the field ...
0
votes
0answers
17 views

know the url path of a file loaded via file upload

I need to know in real time (with JavaScript) the destination URL of a file that I loaded via file upload in the page to create nodes. What I need to do is pass this URL to a jQuery plugin that load ...
0
votes
1answer
24 views

Registration form to be submitted via ajax [closed]

I want to submit drupal'S registration form to be submitted via ajax .How can I acomplish this???