开发者

select an element which is inside title tag with Jquery

开发者 https://www.devze.com 2023-01-14 09:59 出处:网络
I have some html code like this. <a href=\"http://www.google.com.pk\" id=\"goog\" title=\"<table width=\'20%\' border=\'1\'> <tr> <td>ABC</td><td>DEF&开发者_Go百科lt;

I have some html code like this.

<a href="http://www.google.com.pk" id="goog" title="<table width='20%' border='1'> <tr> <td>ABC</td>    <td>DEF&开发者_Go百科lt;/td>  </tr></table>"> Go to Google </a>

I want to call alert function when user will hover to table td tag which is inside to Table and table is inside of tag.

Is it possible with Jquery?

Thanks in advance


HTML is not allowed within the title attribute.

Have a look at this, as one of many solutions how to achive CSS tooltips:

http://sixrevisions.com/css/css-only-tooltips/

0

精彩评论

暂无评论...
验证码 换一张
取 消