i have html:
<div id="link-thumbs-list"> <img src="image.php?f=http://www.jetphotos.net/trans.gif&h=72&w=128" /> <img src="image.php?f=http://www.jetphotos.net/logo-nb.jpg&h=72&w=128" /> <img src="image.php?f=http://www.jetphotos.net/trans.gif&h=72&w=128" /> </div>
i need select f= (file url) src attribute of each imgs.. how can do?? thanksss
$$("#link-thumbs-list img").each(function(elem) { var m = elem.get("src").match(/f=([^&]*)&/); if (m && m[1]) { elem.set("src", m[1]); } });
Comments
Post a Comment