When I am using VBscript in HTML-code I can recieve text from e.g. a textbox with this code:

<%var1=request.form("theText")%>
or
<%var1=request.querystring("theText")%>

Can this be done in JavaScript, or must I use Perl or cgi or something else if I want it to work on Netscape ??