Jquery/Ajax call with timer
I have a php page that echos out rows from a database. I want to call it via jquery/ajax every 30 seconds. But I also want to be able to call the page at any time so that if I add a record via the form, once the form submits I want the page via called to ajax to update the results right away. Can anyone point me in the right direction or provide some base code so I can try to figure this out? Still very new to jquery/ajax. treeface If you want to set something on a timer, you can use JavaScript's setTimeout or setInterval methods: setTimeout ( expression, timeout ); setInterval ( expression,