Is there any way to have prototype ajax do this:
function go() {
var url = './ajax.php';
var params = 'txt=' + $F('txt');
var ajax = new Ajax.Updater(
{success: 'lf'},
url,
{method: 'get', parameters: params, onLoading: showload, onFailure: reportError});
}
function reportError(request) {
$F('lf') = "AJAX Error.";
}
and then do a moo.fx effect once it comes back? Like the slide down one?
So it would be submitted and then the stuff that comes back will like be uncovered - i think you do it with fx.height but im not sure how to do this....
Thanks!
-
-
Sorry to get off topic slightly. Are there any good books on this advanced JavaScript?
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.