Re: Simulate button click to trigger postback
Ryan Heath <[email protected]> Fri, 25 Jan 2008 11:01:42 +0100
| Newsgroups | gmane.comp.windows.devel.dotnet.web |
|---|---|
| Message-ID | <[email protected]> |
> How would I call the onclick of btnRefresh from outside the frame that
> contains btnRefresh's form?
>
Something like
$('m').contentDocument.$('btnRefresh').click();
if 'm' is an iframe.
// Ryan
p.s.
I am not sure whether the second $ will work or not, maybe you should
replace it with an explicit call to getElementById
===================================
This list is hosted by DevelopMentor® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com