 Rank: Newbie Joined: 8/20/2010(UTC) Posts: 1 Location: Alexandria, VA
|
Hi there,
you email sb a session code, they click on it and the guest page opens up. The run program button is automatically pressed. So far it works with Firefox but no luck with IE 8. Any help is appreciated. this is the code from Default.master (java script). function myClickFunction() { var btn = document.getElementById('ctl00_Main_runButton'); if (btn) { btn.click(); alert("clicked"); } }
</script> <body onload="myClickFunction()">
|
|
|
|
 Rank: Administration Medals:  Joined: 4/9/2010(UTC) Posts: 2,061
Thanks: 1 times Was thanked: 393 time(s) in 188 post(s)
|
Is your myClickFunction being called? Is your btn variable populating correctly?
I don't think the click() method is standard DOM.
This line: var btn = document.getElementById('ctl00_Main_runButton');
Maybe should be this: var btn = $get('runButton');
A few too many unknowns to give you a definitive answer. Let me know what you find. |
ScreenConnect Team |
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.