[PHP] Re: JS prompt -> php [become 0T]

2007-02-10 Thread Colin Guthrie
Ryan A wrote: > Hey Colin, > Thanks for replying. > > I guess this has sidelined from php a bit now... so have added a OT in the > subject line. > > Anyway, this is how I get the values from a select or a text box: > > var selectBox = document.forms[0].lang;user_input = > selectBox.opt

Re: [PHP] Re: JS prompt -> php [become 0T]

2007-02-10 Thread Ryan A
Hey Colin, Thanks for replying. I guess this has sidelined from php a bit now... so have added a OT in the subject line. Anyway, this is how I get the values from a select or a text box: var selectBox = document.forms[0].lang;user_input = selectBox.options[selectBox.selectedIndex].valu