Clicking a Hidden Button without losing focus
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?
Comments
-
In v7 you can click a hidden button from client-side jscript using ButtonClick(buttonName)
Hope this helps.
0 -
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.onfocus();
eworkData.FieldByName(buttonname).HTMLfield.onclick();
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?
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 154 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories