Четверг, 29 Ноября 2012 г. 10:19
+ в цитатник
получить картинки из таблицы html :
$(".UmlTableRow").eq(0).children().each(function(index,elem){console.log($(elem).first().children().attr("src"))})
* This source code was highlighted with Source Code Highlighter.
<table class="UmlTable" border="0" cellspacing="0" cellpadding="0">
<tbody><tr class="UmlTableRow">
<td class="UmlTableCell"><img src="overview0W0H0.png" width="502" height="516" usemap="#umlmap155W0H0" border="0"></td>
<td class="UmlTableCell"><img src="overview0W1H0.png" width="502" height="516" usemap="#umlmap155W1H0" border="0"></td>
<td class="UmlTableCell"><img src="overview0W2H0.png" width="501" height="516" usemap="#umlmap155W2H0" border="0"></td>
<td class="UmlTableCell"><img src="overview0W3H0.png" width="501" height="516" usemap="#umlmap155W3H0" border="0"></td>
</tr>
</tbody></table>
* This source code was highlighted with Source Code Highlighter.
Метки:
jquery UML
-
Запись понравилась
-
0
Процитировали
-
0
Сохранили
-