For JS ninjas this could be basic JS programming but I'm not sure how to attack it since I am a Javascript/jQuery noob.
I would like to show a div based on todays date.
Logic is something like this:
Check todays date and if todays date is 30 days or more from span.job-date then show div.message. Additionally I would like to insert the number of days old into the message in the div. (In this example the message would be shown).
<span class="job-date">1-14-2013</span>
<div class="message">This job is XX days old it may no longer be available</div>
Thanks!