Hello all. As I am just a sapling according to the world of programming, I've come across what I thought would have been sufficient at the task I needed. Only problem... inter-twining Javascript and HTML.
Here's what I've got:
3 drop down boxes, each according to day, month, and year
1 hyperlink that needs to be updated depending on what option value is selected in each box (may sound confusing but I'll explain)
Example hyperlink:
[HTML]<a href="..\Electr onic Boards Info\Schedule Slides\2008\"
If, let's say, January was selected in the drop down box, the hyperlink would need to be changed to:
<a href="..\Electr onic Boards Info\Schedule Slides\2008\Jan uary\"
If day 03 was selected, as well as January:
<a href="..\Electr onic Boards Info\Schedule Slides\2008\Jan uary\03 January"
Next comes the year (2008):
<a href="..\Electr onic Boards Info\Schedule Slides\2008\Jan uary\03 January 08"
[/HTML]
This is all I need the Javascript to do. Nothing to fancy. Just simple text replacements.
I used HTML for the <select><option > parameters, but if anyone has an idea to transfer this into JS, could you let me know? I appreciate any help. I come from a VB background so all of this is fairly new and confusing to me.
Thanks,
Adam
Here's what I've got:
3 drop down boxes, each according to day, month, and year
1 hyperlink that needs to be updated depending on what option value is selected in each box (may sound confusing but I'll explain)
Example hyperlink:
[HTML]<a href="..\Electr onic Boards Info\Schedule Slides\2008\"
If, let's say, January was selected in the drop down box, the hyperlink would need to be changed to:
<a href="..\Electr onic Boards Info\Schedule Slides\2008\Jan uary\"
If day 03 was selected, as well as January:
<a href="..\Electr onic Boards Info\Schedule Slides\2008\Jan uary\03 January"
Next comes the year (2008):
<a href="..\Electr onic Boards Info\Schedule Slides\2008\Jan uary\03 January 08"
[/HTML]
This is all I need the Javascript to do. Nothing to fancy. Just simple text replacements.
I used HTML for the <select><option > parameters, but if anyone has an idea to transfer this into JS, could you let me know? I appreciate any help. I come from a VB background so all of this is fairly new and confusing to me.
Thanks,
Adam
Comment