I am using jQuery Template to show Video tiles on my Web site
.
The problem is that I would like to show always the latest video available from the Wall Street Web site. The videos are grouped according to dates.
For example for today’s videos : src="http://m.wsj.net/video/20120928/092812hubammarkets/092812hubammarkets_320k.mp4"
I would like to dynamically change the src according to today’s date.
Do you have an idea how to do it ?
Thank you
You could just use a DateTime object for the current date and then put in the year, month, date in the string where they need to go (if the rest of the string is always constant).
Something like this:
\u0022 is the
"characterThat’s a C# example, which is one of your tags.