A Conversation for The H2G2 Programmers' Corner
- 1
- 2
Select Menus With JavaScript
lw - ck Posted Feb 2, 2003
Im gettign all kind of errors so would it be possible (seen as I am totally crap with JavaScript) for you to fully intergrate the script for me into the peice of code below:
January
February
March
April
May
June
July
August
September
October
November
December
<!-- put your default options in first-->
Day Tours
Weekends Breaks
Personalised Tours
Many thanks and once again for all the trouble I've caused (and still am causing) you.
CK
Select Menus With JavaScript
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Feb 4, 2003
Is there anychance you could work this bit out? I mean how hard is it to put together this little jigsaw, when somebody else has painted all the picies?
-- DoctorMO --
Select Menus With JavaScript
lw - ck Posted Feb 4, 2003
Err ok I tried but every time I keep getting errors. I appreciate what you have done for me and as I have evidently annoyed you will not request anything else off you. I just stupidly thought that it would be easier for someone who can do it in two seconds to do it than for me to stuggle for ages on it. How silly and selfish of me
CK
Select Menus With JavaScript
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Feb 17, 2003
Take my apolies, this is not an atempt to isolate you from help, but I realy do think it's better for you to find out why this javascript would work and how it fits together. I've given you the code, you've seen how prevouse examples work and JavaScript is inherently very simple, and to understand the basics does anyone good. come on show some spirit, if you need more help I'm still here.
Tip: Use Netscape 6.0 or Mozilla to debug JavaScript with the JavaScript Console (Very Usefull). IE is not and is very forgiving about wrong code.
Tip: Remember the semi colon on the end of each line,
P.S, sorry about the long wait for a reply, I needed to clear backlog.
-- DoctorMO --
Select Menus With JavaScript
lw - ck Posted Feb 17, 2003
Iv'e got it sorted thanks:
function go(){ var L1 = document.theform.list1.value; var L2 = document.theform.list2.value; if (L1!= "#" && L2!= "#") { var url = "http://www.birdwatchnorthumbria.co.uk/events/" + L1 + L2 + ".htm"; location.href(url); } } CKSelect Menus With JavaScript
DoctorMO (Keeper of the Computer, Guru, Community Artist) Posted Feb 18, 2003
Key: Complain about this post
- 1
- 2
Select Menus With JavaScript
- 21: lw - ck (Feb 2, 2003)
- 22: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Feb 4, 2003)
- 23: lw - ck (Feb 4, 2003)
- 24: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Feb 17, 2003)
- 25: lw - ck (Feb 17, 2003)
- 26: DoctorMO (Keeper of the Computer, Guru, Community Artist) (Feb 18, 2003)
More Conversations for The H2G2 Programmers' Corner
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."