The button comes (after a while) up but doesn't disappear when i click to get more time. Also, i don't get more time but am thrown out even if i click on the button.
Has anyone got this working and can help me please?
Regards, MatsThis message has been edited. Last edited by: Kerry,
Mats Sundelin Cybernetics Business Solutions AB
November 03, 2010, 06:38 AM
Mats Sjoberg
I did a little more testing on this after posting. The solution is to add an empty Event Handler to the button to receive the click. That way i get a new slot. Case OnButtonX_Click EndCase
I also enhanced it a little by moving the button to the middle of the form when displaying (control.style.top ,bottom ,left ,right). That way it can be moved out-of-way in the MDE, not to disturb editing of the form.
My version of the script: var sTimer=70 // Control id of the button used var id = "ButtonX"; var control = document.getElementById(id); control.value=sTimer; display();