Jump to content

Why dont you prefer AHAH instead of AJAX


alxwm

Recommended Posts

AHAH works everywhere and it works just as fast as AJAX, even more, AHAH dont need long functions and you may do anything you want, for example:

<?php

$smarty->assign('arrSelected',$arrSelected);

echo '<script type="text/javascript"><!--

window.parent.document.getElementById(\'selected_model\').value = \''.$ref.'\';

window.parent.document.getElementById(\'models\').innerHTML = \''.passThrueAjax($smarty->fetch('portal.sub.reg_models.tpl')).'\';

//--></script>';

?>

Thats all, nothing else needed.. works! Enjoy if interested.

Link to comment
Share on other sites

No this is not a problem, its most likely a curiocity, most programmers are using AJAX, which is worse I think that AHAH, but they are kind of similar.

But I dont know much about AJAX, and I wont know unless I have interest in.

 

If you need links:

http://en.wikipedia.org/wiki/AHAH

http://www.google.com/search?hl=en&q=ahah+Asychronous+HTML+and+HTTP

Link to comment
Share on other sites

AJAX and AHAH are just different terms for just about the same thing. The Wikipedia article states it's just a subset so there's not much difference.

I myself don't use XML in AJAX but instead JSON encoded data. Just because it's not XML doesn't mean it's not AJAX. Ajax is just the accepted name for the design. At least, that's my spin on it.

If you want to see examples of what I'm doing go here or look around in the source.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.