[jQuery] Re: how to select elements inside jQuery objects

2009-04-16 Thread Josch
I don't really understand what you want to do... Do you want to select a DOM-Object like form class=example ? Then, the selector would be $(form.example). Josch On 16 Apr., 10:47, hybris77 dist...@yahoo.com wrote: i've tried to do the following on a grand scale the last few days, please

[jQuery] Re: jQuery.post() not working for me

2009-04-16 Thread Josch
Do you get an empty alert or nothing? On 16 Apr., 12:13, spstieng spsti...@hotmail.com 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: ?php   inlcude_once('dal.php');   //Get store data, and ouput it as JSON.  

[jQuery] Re: jQuery.post() not working for me

2009-04-16 Thread Josch
']; 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 spsti...@hotmail.com wrote: No, I don't get alert. That means it's failing silently

[jQuery] Re: jQuery.post() not working for me

2009-04-16 Thread Josch
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 script

[jQuery] Re: jQuery.post() not working for me

2009-04-16 Thread Josch
']));   }   $storeData = json_encode($data); I still get 'undefined' output :( On 16 Apr, 15:36, Josch jluelsd...@googlemail.com wrote: By hitting F12, firebug opens up in Firefox. On the first use, you have to check all three options (Console, Javascript, Network). After reloading

[jQuery] Re: Assigning variable on click

2009-04-15 Thread Josch
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 con...@letsbeglobal.com wrote: Hi, One other quick