Jump to content

Problems with IE 7 on win XP


Recommended Posts

hi

i have a problem calling java functions on IE7 installed on win xp.

This is the problematic html part:

 
<div class="btn-group">
                <a class="btn dropdown-toggle" data-toggle="dropdown" style="width: 94px; margin-left: 20px;">
                    Dodaj&nbsp;...&nbsp;&nbsp;
                    <span class="caret"></span>
                </a>
                <ul class="dropdown-menu">
                <!-- dropdown menu links -->
                      <li><a onclick="objSMSsend.addPhoneClicked()">phone number</a></li>
                      <li class="divider"></li>
                      <li><a onclick="objSMSsend.addAddrClicked()">addr number</a></li>
                      <li class="divider"></li>
                      <li><a onclick="objSMSsend.addGroupClicked()">group</a></li>
                      <li class="divider"></li>
                      <li><a onclick="objSMSsend.showImportDialog()">CSV file</a></li>
                </ul>
        </div>

problematic part:

<li><a onclick="objSMSsend.addPhoneClicked()">phone number</a></li>

i have tried this:

$oIE = _IECreate ("my link")

$oIEDoc = _IEDocGetObj($oIE)
$oIEDoc.parentwindow.setTimeout("objSMSsend.addPhoneClicked()", 0)
        
        
$oIE.document.parentwindow.eval("objSMSsend.addPhoneClicked()")
$oIE.window.execScript("objSMSsend.addPhoneClicked()")
$oIE.window.execScript("objSMSsend.addPhoneClicked()","javascript")
        
$oIe.document.parentWindow.execScript("objSMSsend.addPhoneClicked()","javascript")
$oIEDoc.window.execScript("objSMSsend.addPhoneClicked()")

nothing works of this examples.

f you got any idea i would appreciate it,

thx 

Fazan

Link to comment
Share on other sites

  • Moderators

_IEFormElementOptionSelect() doesn't work for you?

Have you tried getting a reference to the objsend object?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Did you try

_IELinkClickByText($oIE, "phone number")

?

yes didnt solve problem

_IEFormElementOptionSelect() doesn't work for you?

Have you tried getting a reference to the objsend object?

i dont need to select it i only need to call this event 

onclick="objSMSsend.addPhoneClicked()"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...