> for example...
> var data={};
>
> for(i=0; i<=10;++i) {
> data[i]=i;
> }
> var params=Object.toJSON(data);
>
> var request=new Ajax.Request(...
>
> parameters : {
> variable_1 : 'Hi i am variable one',
> variable_2 : params // The json object
> }
> ...
This did not quite work ... it
it sends a json object to the server which you remove the slashes and
decode -
example in php
$posted=str_replace("\\"","\"",$__POST['varaible_2'];
$json=json_decode($posted);
// $json is now a multi dimensional array you can access
Alex Mcauley
http://www.thevacancymarket.com
- Original
This is a very strange error to me. I've googled this and found some
information about JQuery, but I am not using JQuery.
This is a fresh install of Scriptaculous and Prototype, I'm doing a
single appear affect which works fine, but as soon as I attempt a fade
effect I get this error;
Error: ele
Figured it out. Was a simple lack of understanding numbers in Javascript.
Var countdown = 15;
Countdown = countdown - 1;
That converted countdown to NaN, or a string. Using -- worked ... my
javascript error code was crashing effects.js.
Sorry!
-Original Message-
From: TopSoft [mailto