Host Post information

admin

Administrator
Staff member
Hello,

I have a html login script from which i get user information from the user and i'm constructing an ur l to run an oracle report.i'm using javascript and form methos=post and action

<FORM name="login" method="post" action="http://test8.com:7777/wm/rwservlet?" onSubmit="user(this)">


in the action="http://test8.com:7777/wm/servlet?"

i have this harcoded.how can i get the host and port information from the browser i'm using.
Is there anyway we can able to get this using javascript and fire it in formmethod=post and action=

please help.i'll appreciate any help.
Thanks in advance.
Neena.
 
Back
Top