Results 1 to 4 of 4
- 02-11-2013, 01:41 PM #1
Member
- Join Date
- Feb 2013
- Posts
- 2
- Rep Power
- 0
How can I create a dynamic hyperlink with JavaScript?
I have the following links that I would like to create a dynamic hyperlink in Java to point to current month and year in the hyperlink.
http://www.somesite.com/site_media/u...f_jan_2012.pdf
http://www.somesite.com/site_media/u...f_feb_2012.pdf
http://www.somesite.com/site_media/u...f_mar_2012.pdf
http://www.somesite.com/site_media/u...f_apr_2012.pdf
http://www.somesite.com/site_media/u...f_jan_2013.pdf
As you might notice the pdf file name changes based on the month and the year.. jan, feb, mar ..etc and for the year 2012 then 2013.
How can I create a hyperlink that will always display the current month and year?
I appreciate any help.
Thanks
- 02-11-2013, 02:07 PM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,438
- Rep Power
- 16
Re: How can I create a dynamic hyperlink with JavaScript?
Are you talking a Java web app here, or just Javascript?
Please do not ask for code as refusal often offends.
- 02-11-2013, 06:45 PM #3
Member
- Join Date
- Feb 2013
- Posts
- 2
- Rep Power
- 0
Re: How can I create a dynamic hyperlink with JavaScript?
Javascript
- 02-11-2013, 07:57 PM #4
Similar Threads
-
Dynamic web project using separate Javascript
By alexisjk in forum Advanced JavaReplies: 1Last Post: 02-01-2012, 08:46 PM -
dynamic table preparation+html+javascript
By sandy1000 in forum JavaServer Pages (JSP) and JSTLReplies: 6Last Post: 01-05-2011, 11:24 AM -
Help Create Dynamic Srcollbar
By JavaBender in forum AWT / SwingReplies: 7Last Post: 08-14-2010, 09:31 AM -
Problem--How to create dynamic tree structure in jsp using javascript
By natu in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 08-11-2010, 08:11 AM -
How to create a hyperlink from a text in Java
By javanewbie in forum New To JavaReplies: 2Last Post: 06-05-2009, 02:12 PM


LinkBack URL
About LinkBacks

Bookmarks