Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options questions only user 2328

Use it for questions about JavaScript/PHP code to create asynchronous web applications.

52
votes
3answers
function ajax_example_simplest($form, &$form_state) { //This is my ajax trigger element $form['element_trigger'] = array( '#type' => 'select', '#options' => array( 'one' => 'one … ', 'two' => 'two', 'three' => 'three', ), '#ajax' => array( 'callback' => 'ajax_example_simplest_callback', /** Q: Can I somehow declare more than one wrapper …
asked Aug 3 '11 by Francisco Luz
1
vote
1answer
table and the OpenLayer Data Overlay displays would get updated via AJAX. This would create a better user experience. THE ISSUE: Apparently I can attach view attachment displays to any view display but … ? Another way to go would be perhaps having a block for the content data table and its filters. In this case, how could I get the AJAX on the block view to trigger the OpenLayer Data Ovelay view, so both views get the filters applied at the same time? …
asked Jan 3 '13 by Francisco Luz
4
votes
1answer
'), ), '#ajax' => array('callback' => 'my_ajax_callback', 'wrapper' => 'my_wrapper_1', ), ); $form['fieldset_1']['myChangebleField … wrapper '#ajax' => array('callback' => 'my_ajax_callback', 'wrapper' => 'my_wrapper_2', ), ); $form['fieldset_2']['myChangebleField'] = array( '#type …
asked Aug 21 '11 by Francisco Luz
0
votes
3answers
I have a link in the side bar that links to a OL view. I would like to Ajaxify it so the view is loaded into the content area without a page re-load. I am using the Ajax link example in the Example … module and saving the $output at ajax_link_response() with this code: <?php ... function ajax_link_response($type = 'ajax') { ... $view = views_get_view('view-name'); $view->set_display …
asked Jan 26 '13 by Francisco Luz