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

learn more… | top users | synonyms (1)

0
votes
0answers
4 views

Calling ajax after keypress

I would like to set up a search suggestion feature on a form. The search I'm doing is not related to Drupal's built in search feature. I've looked at the ajax functionality of the form api, but ...
0
votes
1answer
13 views

Setting a validation error via ajax

I am using the formapi to create a form. On one of my fields I have an #ajax call. When the field is changed I call the function. I recreate the form and then replace the whole form on the page. This ...
0
votes
1answer
20 views

hook_menu not available for ajax loaded links

I'm loading a datatable and its data into a panel, through ajax. Below is the link which can add the row(entry) to favorites. When I click the link, the jquery animation is executed properly but the ...
0
votes
1answer
29 views

How to change checkboxes options with ajax callback

I'm sorry if this is repeated somewhere, but I really did try to look and couldn't come up with anything. My scenario: I have a form, and within that form I have a div/wrapper, with two elements in ...
2
votes
1answer
33 views

Does using Drupal.ajax() offer any benefits over jQuery.ajax()?

I'm updating a node's references (list of them - rendered entities) manually with AJAX and experiencing performance problems. $.ajax() is used to call a view rendered with the simplest page.tpl.php ...
0
votes
1answer
24 views

jQuery gallery with imageFUpload

here's the code of kartinkin.php file: <?php $node = node_load(707); node_view($node); //$index = $_GET['index']; //dpm($node); ?> <script type="text/javascript"> ...
2
votes
0answers
25 views

Drupal ajax calls do endless redirect

After moving my drupal installation to another domain (and server) ajax calls end up beeing redirected from the login-page to the target and back until the timeout is reached. Why the target ...
1
vote
0answers
28 views

Ajax callback with db_select in tableselect (Drupal 7)

I have some problem with ajax callback. After add a description by Upload button to database I try to dinamically show this result in tableselect, but db_select isn't refresh after callback. Anybody ...
3
votes
1answer
18 views

How to secure ajax on automatically save field data

My custom module make ajax request on _node_edit form after input changed by user, and menu callback save this field's data (only this field, not all node object). Menu item is as ...
0
votes
1answer
33 views

$base_path is not added to AJAX URL request in login form

I have a D7 site in a subfolder, and would like for AJAX requests to find the correct docroot folder. When trying to login from localhost/mysite/user, AJAX sends a request to localhost/system/ajax. ...
0
votes
0answers
20 views

Ajax ready event for select field in form

I have a form that has an "item list" select field which lists all items in my database. Basically, I can just do $item_list = array( // ... // Obtained list from database // Let's say I have ...
1
vote
1answer
16 views

Validation error on term-reference field when ajax'd option is submitted?

I get the error "Illegal choice" when I submit a form with a multi-select option that was freshly created via ajax. Workflow is like this: User loads node edit form User needs to select a ...
2
votes
1answer
38 views

jQuery effects with exposed filters

I am trying to produce a view with exposed filters, where: The options are listed as text links, like a menu The page automatically updates when a link is clicked jQuery effects appear to seamlessly ...
0
votes
1answer
38 views

How to open jquery dialog on menu click

I would like to open a jquery dialog that asks a question before taking the user to the desired page (ie do some page set-up before they get there). The catch here is that I would like to open the ...
0
votes
1answer
30 views

Empty response after a callback in form_alter

I am trying to add a new field in a preexistent form and invoke a callback. The response of the callback is alway an error with an empty response: An AJAX HTTP error occurred. HTTP Result Code: ...

1 2 3 4 5 45
15 30 50 per page