Sign in to follow this  
Followers 0
cent

Javascript click & co

2 posts in this topic

I am trying to click on this link "Inbox", with no succes ! It is in the yahoo mail new version; and i've tried some _IELinkClickByText but it doesn't work !

P.S: i did a search on the board, but it did'nt help muttley

<div id="welcomeUnreadMsg" title="Go to Inbox">

You have 152 unread messages in your

<span class="folderLink">Inbox</span>

</div>

<div role="wairole:presentation" style="position: relative;">

<div id="_test_Inbox_icon" class="folderIcon" style="background-position: 0px 0px; left: 17px; top: -2px; position: absolute; display: inline;"/>

<span id="_test_Inbox" class="folderNameElem axsTreeitem axsSelected" style="font-weight: bold; left: 36px; background-color: rgb(62, 121, 176); color: rgb(255, 255, 255);" role="wairole:treeitem">Inbox</span>

<span class="offScreen">, </span>

<span class="folderNameElem folderCount" style="left: 36px;">(152)</span>

</div>

Share this post


Link to post
Share on other sites



Solved, god i was dump on this one ! here is the code muttley

$oclick = _IEGetObjById($oIE, "_test_Inbox")
_IEAction($oclick, "click")
$oclick.fireEvent("onclick")

Share this post


Link to post
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
Sign in to follow this  
Followers 0