rtnMichael
Programmer
hey,
ok, here's a should-be simple question. I am taking in a value from a drop down. The question asks what time of the day they would like to run a cron job. I need the value to be between 0-23, and the options would look like hours of the day, e.g. 1 a.m., 2 a.m....
so I was wondering, I have to send it over to the next page, but I can only send over the value, not the "option" part, at least that's what I understand. I need to print out the time on the next page, and I would like for it to say "time run: 11 p.m." but the value will be 22. How can I go about doing that? I was thinking about a switch case statement, but I have no idea of the syntax for it in VBScript or Javascript.
Thanks
M
ok, here's a should-be simple question. I am taking in a value from a drop down. The question asks what time of the day they would like to run a cron job. I need the value to be between 0-23, and the options would look like hours of the day, e.g. 1 a.m., 2 a.m....
so I was wondering, I have to send it over to the next page, but I can only send over the value, not the "option" part, at least that's what I understand. I need to print out the time on the next page, and I would like for it to say "time run: 11 p.m." but the value will be 22. How can I go about doing that? I was thinking about a switch case statement, but I have no idea of the syntax for it in VBScript or Javascript.
Thanks
M