A Clientform question

2005-05-23 Thread m0sf3t
Does anyone here use ClientForm to handle a HTML form on client side? I try to open this page https://www.orange.ch/footer/login but got this message File "C:\Python24\lib\site-packages\ClientForm.py", line 781, in do_input raise ParseError("start of INPUT before start of FORM") ParseError: s

Re: A ClientForm Question

2005-04-06 Thread John J. Lee
"narke" <[EMAIL PROTECTED]> writes: > John J. Lee wrote, > > > See second bullet point under "Why does .click()ing on a button not > work for me?". > > Thanks for you advice. However, after read through the FAQs, I have not > managed to find a solution for my problem. I belive my button is > co

Re: A ClientForm Question

2005-04-06 Thread Satchidanand Haridas
Hi, ClientForm and Mechanize like tools do not execute javascript . You will normally have to do them manually in your python code itself. In your case, if you have a button, which (and I assume) executes some javascript code that sets some hidden variable and/or changes the 'action' attribute

Re: A ClientForm Question

2005-04-06 Thread narke
John J. Lee wrote, > See second bullet point under "Why does .click()ing on a button not work for me?". Thanks for you advice. However, after read through the FAQs, I have not managed to find a solution for my problem. I belive my button is coupled with some Java script which mess thing up and t

Re: A ClientForm Question

2005-04-04 Thread John J. Lee
Francesco <[EMAIL PROTECTED]> writes: > Il Fri, 01 Apr 2005 02:36:24 -0800, narke ha scritto: > > > Does anyone here use ClientForm to handle a HTML form on client side? Yes. :-) [...] > > forms = ParseResponse(urlopen(url)) > > > > form = forms[0] > > urlopen(form.click("ZoomContr

Re: A ClientForm Question

2005-04-03 Thread Francesco
Il Fri, 01 Apr 2005 02:36:24 -0800, narke ha scritto: > Does anyone here use ClientForm to handle a HTML form on client side? > > I got a form, within which there is a image control, it direct me to > another page if i use mouse click on it. the code of the form as > below: > > action="CDocZ_M

A ClientForm Question

2005-04-01 Thread narke
Does anyone here use ClientForm to handle a HTML form on client side? I got a form, within which there is a image control, it direct me to another page if i use mouse click on it. the code of the form as below: ...   ... So write below code to 'click' the image button, forms = ParseR