tags:

views:

31

answers:

3

How can I use jQuery to fetch the SRC attribute of a value?

+3  A: 
$(el).attr("src")
Matthew Flaschen
A: 
alert($("#elem").attr("src"));
Kaaviar
A: 
var mySrc = $('#myimage').attr('src');
BoltClock