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 1198

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

1
vote
0answers
I'm looking for a way to figure out what CSS and JavaScript files are loaded, and what else CSS and JavaScript files needed to be loaded for new content I'm injecting with AJAX. I've am module file … , where I load my my_ajax.js file with hook_init(). Also there's a hook_preprocess_page() function that is looking for an AJAX request. When there's an AJAX request, I use another page.tpl.php to …
asked May 6 '11 by dennis605
3
votes
1answer
I'm working on ajaxing my site, for a long time now. I found a method that's working for me, but only the first AJAX request is working the right way; the next request takes at least twice the time … '); } function acquia_slate_preprocess_page(&$vars, $hook) { if (isset($_GET['ajax']) && $_GET['ajax'] == 1) { $vars['template_files'][] = 'page-ajax'; } } my_ajax.js Drupal.behaviors.my_ajax …
asked May 10 '11 by dennis605
10
votes
2answers
and CSS (issue) I think that is not the problem, so i try it with a different approach, and maybe this could be the solution. Loading the whole PHP Page and extract a certain div with ajax didn't … works the right way. So i thought, that i could let drupal load just the content and inject it with ajax into the div. I made a query with the hook_preprocess_page and hook_preprocess_node that is …
asked May 5 '11 by dennis605