简体   繁体   中英

How to get focus of textarea in dotnetbrowser?

I am looking through the samples and I have got solution for focusing on dom element using tab.I am trying to focus on textarea which is on site, so i had used virtual Tab key press to find that particular textarea and its working correctly. But can anyone suggest how to directly focus on textarea. I also used excuteJavascript function but its not working.

DotNetBrowser DOM API provides two methods: DOMElement.Focus() and DOMElement.Blur() . This functionality allows you to request focus on particular HTML DOM element.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM