<div id="song_html" class="show1">
<div class="left">
<!-- info mp3 here -->
3.88 mb
</div>
<div id="right_song">
<div style="font-size: 15px;">
<b>Beatles - Hey Jude mp3</b></div>
<div style="clear: both;">
</div>
<div style="float: left;">
<div style="float: left; height: 27px; font-size: 13px; padding-top: 2px;">
<div style="float: left; width: 27px; text-align: center;">
<a href="javascript:void(0)" onclick="showPlayer(161498180, 'b7f231500894c321c0a7739802edff16965eb111', 'beatles', 'hey+jude')"
rel="nofollow" id="lk161498180" class="play_now">Play</a></div>
<div style="margin-left: 8px; float: left;">
<a href="http://dc109.4shared.com/img/1038702204/8ffe01b/dlink__2Fdownload_2FxAdbDSb4_3Ftsid_3D20111224-60034-
aa918a50/preview.mp3" rel="nofollow" target="_blank" style="color: green;">Download</a></div>
<div style="margin-left: 8px; float: left;">
<a href="javascript:void(0)" onclick="showEmbed(161498180,
'b7f231500894c321c0a7739802edff16965eb111')" rel="nofollow" id="em161498180" class="embed">
Embed</a></div>
<div style="margin-left: 8px; float: left;">
<a href="http://www.ringtonematcher.com/go/?sid=WDLL&artist=beatles&song=hey+jude"
rel="nofollow" target="_blank" style="color: red;" title="Send Beatles - Hey Jude Ringtone to your Cell">
Send Ringtone</a></div>
<div style="clear: both;">
</div>
</div>
<div id="player161498180" style="float: left; margin-left: 10px;" class="player">
</div>
</div>
<div style="clear: both;">
</div>
</div>
<div style="clear: both;">
</div>
</div>
我很想知道如何檢索鏈接「http://dc109.4shared.com/img/1038702204/8ffe01b/dlink__2Fdownload_2FxAdbDSb4_3Ftsid_3D20111224-60034-aa918a50/preview.mp3」。如何從一個按鈕檢索URL?
我問過其他論壇和人多次,但我仍然不明白/不工作。
這是必須的,我通過類「show1」得到它,因爲還有其他類。
你想使用Javascript/jQuery檢索它? – Virendra 2011-12-24 23:08:06
你真的需要發佈所有的HTML只是爲了問這個問題嗎?你能不能創建一個仍然存在相同問題的小例子? – 2011-12-24 23:11:46