Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- switch problem


ctoz - 11:59 pm on May 28, 2011 (gmt 0)


OK—but: what if the process is to be repeated? so that you're running choose() three or four times in succession? wouldn't these need switch to distinguish one run from another?

Or thinking out loud, maybe better to do variations on choose(), like choose2() {//same as choose() }, choose3() {//same as choose()} ?


Thread source:: http://www.webmasterworld.com/javascript/4318937.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com