ATTN: AJAX GODS
having a tough time getting the results that i want on one of my projects.
the project is: www.willthemailmancometoday.com (make fun if you need to...i accept criticism.)
if you look at the source it basically gets the date while the page loads and uses variables to determine whether a NO or YES will show in response to whether it is a postal holiday or not. simple really.
what i want:
i want to make it so that the page reloads every 5 - 10 seconds so that the date rechecks and is updated as needed. i want to do this in ajax, so the page doesn't actually have to do a typical reload; i want the feature ajax is known for, i want it to just suddenly change if it needs to.
i've played with a few samples and scripts i found online, but there are few resources that seem anywhere close to what i need.
i hate web code.
any help appreciated for the ajax noob
-jo0
having a tough time getting the results that i want on one of my projects.
the project is: www.willthemailmancometoday.com (make fun if you need to...i accept criticism.)
if you look at the source it basically gets the date while the page loads and uses variables to determine whether a NO or YES will show in response to whether it is a postal holiday or not. simple really.
what i want:
i want to make it so that the page reloads every 5 - 10 seconds so that the date rechecks and is updated as needed. i want to do this in ajax, so the page doesn't actually have to do a typical reload; i want the feature ajax is known for, i want it to just suddenly change if it needs to.
i've played with a few samples and scripts i found online, but there are few resources that seem anywhere close to what i need.
i hate web code.
any help appreciated for the ajax noob
-jo0