![]() | ![]() |
|
12-19-2011 01:16 PM
Hi, I have started working with ver7, and would like to know if is it possible to click on a hidden button(Visibility depends on: "Don't Show") without using onfocus().
The problem is when the button is dynamically clicked, the field with the current focus loses it, and the cursor goes to the top of the page, this as you can imagine increases the number of human errors. Any suggestions?
12-20-2011 06:24 AM
In v7 you can click a hidden button from client-side jscript using ButtonClick(buttonName)
Hope this helps.
12-20-2011 07:27 AM
Same with buttonclick.
But I have find out through some debug that the cursor jumps in the onlcick function, in the following:
function ClickButton(buttonname)
{
eworkData.FieldByName(buttonname).HTMLfield.onfocu
eworkData.FieldByName(buttonname).HTMLfield.onclic
clearInterval(IntervalID);
win=null;
}
No my dilemma is, the button must be clicked because it affects a costume variable with a SQL Server returned value, needed in the rest of the interface, but would need the cursor not to jump when the button is clicked, is this possible in anyway?
![]() |
![]() |
![]() |
|
|
![]() |
![]() |
![]() |
















