From: Rahul J. <rah...@sp...> - 2003-08-22 20:59:14
|
Mike, I do something like this. =20 Initially optVals is an empty select.=20 i.e it has no options.=20 HtmlSelect optVals =3D form.getSelectByName("selectedOpts"); optVals.fakeSelectedAttribute("DID"); Submit.. I expect that an option with value "DID" would be added to the HtmlSelect optVals. But the server does not do what it is expected to. Nor do I get any error. The server processe as if=20 Htmlselect optVals is empty. It would be nice if you could give me some directions to go about debugging this.=20 e.g where can i see what is being sent to server from the client? Thanking you for your help. -Rahul =20 -----Original Message----- From: Mike Bowler [mailto:mb...@Ga...] Sent: Wednesday, August 20, 2003 4:55 PM To: htm...@li... Subject: Re: [HtmlUnit] Help with regard to HtmlSelect Rahul Joshi wrote: > I had tried fakeselectedAttribute() but it is not working? > Can anyone help me how should I go about debugging/figuring out=20 > the problem .. Perhaps if you explained what you've tried and what response you've seen then someone could offer some insight. --=20 Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=3D104 _______________________________________________ HtmlUnit-develop mailing list Htm...@li... https://lists.sourceforge.net/lists/listinfo/htmlunit-develop |