Guillem Cunillera Wefers wrote: > I include this simple program because I want to download some web pages without > losing the user interaction. How I have to change this code in order to avoid > the error in the second click ?
which is the error in the second click? I ran your program and everything seems fine. this is the output after clicking on 'OBTENIR DADES' three times (the button stays disabled for approx. 1 second then I can click on it again): A acabo click B A acabo click B A acabo click B adeu! no error as far I can see... cheers, Aldo __END__ $_=q,just perl,,s, , another ,,s,$, hacker,,print;