VBA : How to add an event listener. when LEFT CLICK is pressed on the MOUSE?

  • The Javascript code shown below, changes the "class" attribute of an <li> element to "active" .

    Before Javascript execution, the <ul> doesnt contain any <li> :

    <ul class="dropdown">

    After Javascript execution, a dropdown list of <li> elements is added to the <ul>, which can be seen below :

    <ul class="hidden">
    [COLOR=#006400][B]   <li class="active">Graphite India Ltd</li>
         <li>Graphite India Ltd (Merged)</li>[/B][/COLOR]

    <li> elements are referenced using a IHTMLElementCollection, like so :

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!