You initialize the variable within your function ("var color").
This means the variable works only within the function.
You have to initialize it outside your function (Before "$
("span.yellow").click()").
Josch
On 15 Apr., 15:26, Connor wrote:
> Hi,
>
&g
I don't really understand what you want to do...
Do you want to select a DOM-Object like
?
Then, the selector would be $("form.example").
Josch
On 16 Apr., 10:47, hybris77 wrote:
> i've tried to do the following on a grand scale the last few days,
> please help
&
Do you get an empty alert or nothing?
On 16 Apr., 12:13, spstieng wrote:
> Hi, I'm trying to use jQuery.post() function to retrieve som data. But
> i get no ouput.
>
> My PHP file looks like this:
>
> inlcude_once('dal.php');
>
> //Get store data, and ouput it as JSON.
> function getSto
];
$storeID = $_POST['sID'];
call_user_func ($func, $storeID); // Not sure about the syntax here,
but something like that
..because "func" is just another parameter for PHP.
3. Yes, you can use sID: storeID
Greets, Josch
On 16 Apr., 14:21, spstieng wrote:
> No, I don't
By hitting F12, firebug opens up in Firefox.
On the first use, you have to check all three options (Console,
Javascript, Network).
After reloading the page, you can see the requests and its answers
under "Console".
Under "Script", you can debug your scripts. Above "Script" you can
select which sc
ata[] = array(
> "id"=>($row['id']) ,
> "name"=>($row['name']));
> }
> $storeData = json_encode($data);
>
> I still get 'undefined' output :(
>
> On 16 Apr, 15:36, Josch wrote:
>
> > By hitting F12,
6 matches
Mail list logo