开发者

Getting overlib text value with jquery

开发者 https://www.devze.com 2023-04-01 21:21 出处:网络
I got a lot of answers from this website, but now I have a question I couldn\'t find an anser. I use overlib to create a popup box开发者_C百科 when the mousepointer goes over the link. This is what i

I got a lot of answers from this website, but now I have a question I couldn't find an anser.

I use overlib to create a popup box开发者_C百科 when the mousepointer goes over the link. This is what it looks like in HTML code:

<div notitieid="notitie1">
<a onMouseOver="return overlib('Here is the popup text', FGCOLOR, '#D7FFD7', BGCOLOR, '#003300', TEXTCOLOR, '#003300', DONOTHING, VAUTO, HAUTO, WIDTH, 400); this.style.cursor='pointer';" onMouseOut="return nd();"><img src="../__pics_small/notitie_vol.png" alt="notitie" border="0" /></a>
</div>

I like to get the overlib popup text in a variable in jquery, "Here is the popup text".

Can not figure out how to do this.

Please some help.


The element used by Overlib has the id overDiv. Use firebug to examine its structure or test if $('#overDiv').text() gives you sufficient results.

0

精彩评论

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