[httpunit-develop] wrong subject in my last request
Brought to you by:
russgold
From: itzik b. <itz...@or...> - 2003-10-24 21:11:28
|
**************************************************************** *** THE FOLLOWING MESSAGE HAS BEEN RENDERED SAFE BY SAFESEND *** *** The original email contained a plain text message. Only *** *** the plain text portion of the message is included here. *** *** Other parts of the message may have been removed for *** *** security reasons. *** *** To: htt...@li... *** *** From: "itzik baruch" <itz...@or...> *** **************************************************************** sorry for the wrong subject in my mail. i still have the problem. any help will be appreciated. itzik baruch -----original message----- from: itzik baruch sent: wednesday, october 22, 2003 6:08 pm to: 'htt...@li...' subject: onload seems not to work for me hi, i am quite new to httpunit and also could not find reference to my problem in the archive so far. here is my problem: while trying to run an html page that use javascript to create a path and then change the action of a form with this path and submitting it, the url that is being created includes in it not only the fields that have a name attribute. i am getting something like this : http://www.orca.tv?i_user=3dadmin <http://www.orca.tv?i_user=3dadmin&=3dadmin&i_pass=3dpass> &=3dadmin&i_pass=3dpass notice the &=3dadmin ... here is my html page : function init(){ } function setpath(){ path =3d " <http://www.orca.tv> http://www.orca.tv"; document.login.action=3dpath; } function beforesubmit(){ //if (document.getelementbyid("host").value=3d=3d"" || document.getelementbyid("schemaname").value=3d=3d"" || document.getelementbyid("user").value=3d=3d"" || document.getelementbyid("pass").value=3d=3d""){ // alert("please fill all the fields."); //}else{ setpath(); document.login.submit(); //} } user name list: admin sveta password list: is there something i am missing and need to do in order to avoid this problem ? thanks ahead. itzik baruch ------_=_nextpart_001_01c3993a.14764774 |