Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function goToLink(url) {
- location.href = url ;
- }
- function goToLinkTd(e,url) {
- if (!e) var e = window.event; // Get the window event
- e.cancelBubble = true; // IE Stop propagation
- if (e.stopPropagation) e.stopPropagation();
- location.href = url ;
- }
- <tr onclick="goToLink('http://tahrircenter.com/product/bb/url')">
- <td>1</td>
- <td>10013</td>
- <td>عنوان</td>
- <td>
- -
- </td>
- <td>10</td>
- <td>
- <p class="">0</p>
- </td>
- <td onclick="goToLinkTd(event,'http://tahrircenter.com/product/bb/url#price-change')">
- <a href="#"><img src="http://tahrircenter.com/assets/frontend/_img/_svg/chart.svg" alt="" class="table-chart"></a>
- </td>
- </tr>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement