all groups > dotnet jscript > march 2006 >
You're in the

dotnet jscript

group:

Generating Automatic KeyStrokes


Generating Automatic KeyStrokes Savas Ates
3/18/2006 12:00:00 AM
dotnet jscript:
How can i generate a keystroke using javascript .. i Have an i frame in my
html document and i want to generate some Tab and enter keystrokes and click
some link in my iframe automatically ? Is there any way to do it ?

RE: Generating Automatic KeyStrokes Pandurang Nayak
3/22/2006 12:51:27 PM
First of all, to access the other page's DOM, you will have to have them
running from the same site.

You could then access the DOM of the other page, fill up the text box you
want to and then call a form.submit on the form.

It is probably easier to do this through a Windows app that embeds a browser
control if you do not have the two pages from the same site.

regards
Pandurang

--
blog: www.thinkingMS.com/pandurang


[quoted text, click to view]
AddThis Social Bookmark Button