Questions tagged [ahah]

AHAH is a very simple technique for dynamically updating web pages using JavaScript.

AHAHA (Asynchronous HTML and HTTP) is a very simple technique for dynamically updating web pages using JavaScript. It involves using XMLHTTPRequest to retrieve (X)HTML fragments which are then inserted directly into the web page, whence they can be styled using CSS. (more information on Microformats website -- http://microformats.org/wiki/rest/ahah)

38 questions
0
votes
1 answer

Drupal Ahah helper form error: warning: call_user_func_array() expects parameter 1 to be a valid callback

I have forms with Ahah helper. When I tried to fill the form, it always getting this error: warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'A' not found or invalid function name in xxx\includes\form.inc on line…
bandungeuy
  • 378
  • 4
  • 19
0
votes
1 answer

load in jQuery doesn't work in Chrome nor Safari

[UPDATE] It only works in Firefox and not at Chrome nor Safari. I am following a jQuery tutorial (AHAH) but the description doesn't show up in the "show more" section when I click on the flowers. $(document).ready(function(e) { var $flowers =…
Mona Jalal
  • 34,860
  • 64
  • 239
  • 408
0
votes
1 answer

AJAX v/s IFrame

I am loading a pure HTML code from a AJAX get request and appends it into a div using JQuery. In IE this process is quite slow. I used several method to speed this up but it does not have a major impact on IE. So alternative is to load this content…
goodsanket
  • 13
  • 4
0
votes
1 answer

Can we use drupal AHAH in webform module of drupal 7

I intend to add dynamically fields like text boxes, radio buttons, checkboxes ,select boxes on a click of button like "ADD More". I heard we can use AHAH to add fields dynamically, since I used a webform module to build my form, can I still be able…
0
votes
1 answer

Simple add more field using AHAH in custom form in Drupal 6

I have a custom form (call from menu hook) as below : $items['testform'] = array( 'title' => 'testform', 'page callback' => 'drupal_get_form', 'page arguments' => 'test_form', 'access arguments' => array('access content'), ); Now in…
aniruddha
  • 689
  • 8
  • 29
0
votes
1 answer

How can I thwart Chrome's caching of jQuery.load()ed files?

I've run into this problem once before, and am hitting it again. I have a webpage that may make AHAH loads via jQuery.load(). The text that was loaded appears to stay in the cache, and the usual shift-reload is not enough: it loads the parent…
Christos Hayward
  • 5,777
  • 17
  • 58
  • 113
0
votes
1 answer

Drupal 6 textfield form element with ahah attribute

I have a form with a textfield element which when a user starts typing into I want to pre-populate a different element. I've been using the #ahah attribute which works fine with the event property set to 'keyup' however I lose focus on the textfield…
Steven Cheng
  • 1,071
  • 3
  • 14
  • 25
-1
votes
1 answer

How to send Jquery load() link into an iframe

I have problem with AHAH Jquery method load(). I want to after clicking links in a table
krieng
  • 1
  • 3
1 2
3