[jQuery] Re: How can I store data from an AJAX function in a json-array?

2009-11-07 Thread DigitalDude
he > data in a variable, how will those other functions know when it is ready for > use? By calling those functions from the success callback, you insure that > the data is ready and available at the moment of the call. > > If you have a more complete example I can probably sugges

[jQuery] How can I store data from an AJAX function in a json-array?

2009-11-07 Thread DigitalDude
Hey, I need to gather somer data for a jQuery function. I need this data to be a json array, which I will achieve in a php action which returns an array that is encoded as JSON. So far, so good. I need sth like this: $.ajax({

[jQuery] History plugin? DropDowns are emtpy after using "Back"-button of browser

2009-06-25 Thread DigitalDude
Hey, I know this issue has probably been discussed before, but I need a little help to get this to work and I need to know how I can solve this problem once! Here's the situation: On Page 1 2 selects which are dependent on one another (for example first one is Country, User choses the country, a

[jQuery] History plugin? AJAX-filled DropDowns are emtpy after using "Back"-button of browser

2009-06-25 Thread DigitalDude
Hey, I think my first post was erased, so I will give it another try... Scenario: 2 Dropdowns which depend on one another, user selects from first dropdown (for example, country). Then an AJAX call is made and the secon dropdown is poluated with the Country-related locations. The User selects th