Tagged Questions
0
votes
1answer
10 views
Why is the AJAX replaced drop-down list value not being submitted?
I have an AJAX method for when a value is selected from the source drop-down list the target drop-down gets replaced with new values. The problem is that the new replaced drop-down list selected value ...
0
votes
2answers
14 views
ajax update seperate page when a button is clicked on a popup
I created a content type that is used to display a list of videos hosted on brightcove. I have a module that is setting a cookie for the anonymous user when they watch one.
I created a module that ...
0
votes
1answer
38 views
jQuery is not working for inserting data
I want to save data from a textbox on a button click. I am using jQuery AJAX for this task. Please note that I made this tags inside theme function.
function theme_user_post_block($vars) {
...
0
votes
0answers
10 views
Use Privatemsg admin form in theme (Missing functions!)
I've exposed the privatemsg_list_view() form in my site theme with a bit of work and it's displaying well. However, updating message statuses or trying to delete bulk messages results in a sad error:
...
0
votes
1answer
18 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
24 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 ...
2
votes
1answer
39 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 ...
3
votes
1answer
19 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
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
18 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
44 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
45 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
28 views
Drupal 7 skip loading the template for ajax requests
I am trying to upload an image in my template page, using jquery ajax-form submit.
And i am returning just the image name after it is uploaded in the module function.
However, i am getting the entire ...
2
votes
2answers
42 views
arg(1) changed when doing ajax in hook_form
I created a custom module named my_module.
In hook_menu() I define the following path.
$items['my-module/item'] = array(
'title' => 'Item',
'page callback' => 'drupal_get_form',
'page ...
0
votes
1answer
19 views
How to get rid of error messages after second try where file was uploaded successfully?
My question is similar to:
http://stackoverflow.com/questions/9676988/in-drupal-7-errors-for-file-managed-field-remain-even-when-fixed
Why error message from my custom file validator remains the ...