23/02/2015, 10:54
moskovic
html kodları aşağıdaki gibi olan bir sayfada "MainPageHyperLink" id li linke tıklamak istiyorum bunu nasıl bir kodla yapabilirim ?
Kod:
<head id="Head1">
<body onkeydown="return BlockBackspace(event);" *****padding-bottom: 0px; padding-top: 0px;">
<map id="headerLink" name="headerLink">
<table cellspacing="0" cellpadding="0" border="0" width="930" *****vertical-align: top;">
<tbody>
<tr>
<td>
<div id="header_content" *****display: inherit">
<div id="header_logo_">
<div id="heder_kisayol" align="right" *****padding-left: 762px; padding-top: 1px; width: 107px; display: inherit; z-index: 2">
<div id="headerMenu" *****display: inherit; position: absolute;">
<table id="menu_table" cellspacing="0" cellpadding="0" border="0" width="800px;">
<tbody>
<tr>
<td id="menu_center" align="left" *****padding-left: 240px;">
<div id="TopMenuPanel"> </div>
<table id="MenuInnerTable" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td id="MainPageCell" class="MenuInnerTableEachItem">
<a id="MainPageHyperLink" class="topmenulinks" target="mainFrame" href="../NavigationController.aspx?page=RetailVision&sid=KbPLZiTAyjb0e2eZkv4HU3%2fU6Sy9ZERW32eR0n83178%3d">Ana Sayfa</a>
</td>
<td class="MenuInnerTableSeperator">
<img src="/WebApplication.UI/Content/TR/images/logobar/menu_cut.png">
</td>