怎么用选择器拿到这个值?
<dl id="researchdl">
<dt>检索条件:题名=<font color="red">经济</font> </font> 结果数:<b><font color="red">1036</font></b>
<a target="_blank" href="search_rss.php?location=ALL&title=%E7%BB%8F%E6%B5%8E&doctype=ALL&lang_code=ALL&match_flag=forward&displaypg=20&showmode=list&orderby=DESC&use_flag=3&sort=CATA_DATE&onlylendable=yes"><img src="../tpl/red/images/rss.gif" alt="此检索条件下的结果RSS源" border="0" /></a>
<b><a href="?location=ALL&title=%E7%BB%8F%E6%B5%8E&doctype=ALL&lang_code=ALL&match_flag=forward&displaypg=20&showmode=list&orderby=DESC&use_flag=3&sort=CATA_DATE&onlylendable=yes" >
就是想拿到1036那个值~~不太会用~~谢谢啊
[解决办法]
$(document).ready( function() { $("#researchdl b font").each( function() { alert($(this).text()); });});
[解决办法]
<script src="http://code.jquery.com/jquery-latest.js"></script><dl id="researchdl"> <dt>检索条件:题名=<font color="red">经济</font> </font> 结果数:<b><font color="red">1036</font></b> <a target="_blank" href="search_rss.php?location=ALL&title=%E7%BB%8F%E6%B5%8E&doctype=ALL&lang_code=ALL&match_flag=forward&displaypg=20&showmode=list&orderby=DESC&use_flag=3&sort=CATA_DATE&onlylendable=yes"><img src="../tpl/red/images/rss.gif" alt="此检索条件下的结果RSS源" border="0" /></a> <b><a href="?location=ALL&title=%E7%BB%8F%E6%B5%8E&doctype=ALL&lang_code=ALL&match_flag=forward&displaypg=20&showmode=list&orderby=DESC&use_flag=3&sort=CATA_DATE&onlylendable=yes" ><script> alert( $('#researchdl b font').html() )</script>