[jQuery] Help with jquery functions

2009-03-26 Thread Progressed
dear members, new on the whole jquery thingie, and need help on for the follwing: I want to refresh a dive that contains a php query. It has to refresh every 3 seconds. What i see is that the follwing code isnt correct. it also starts $(document).ready... twice... it has to be wrong, but what do

[jQuery] refresh a DIV

2009-03-26 Thread Progressed
I have a DIV with a php query in it. i'd like to get pointers to maybe 2 solutions. Ideal situation: I have a other jquery script that launches an onComplete like: 'onComplete': { } basicly i want to let it do a refresh on #My sql query# other situation I want to refresh this DIV every 5 s