[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

[PHP] Re: JS prompt -> php

2007-02-08 Thread Colin Guthrie
Ryan A wrote: > Quick question (and hopefully a simple one) > > I have a link on a page, when the client clicks that link it should > show them a JS prompt and ask for their name (so far I have done > this) > > When they write their name, I want that data to be sent to my php > script via AJAX (y