Try drag.src
~Sean
On Apr 28, 4:00 pm, Sean Catchpole [EMAIL PROTECTED] wrote:
Try drag.src
~Sean
Hi Sean,
drag.src returns undefined. Here is a partial list of various things
I've tried.
var thePhoto = drag.innerHTML.(img).attr(src); // no
var thePhoto = drag.innerHTML.attr(src); // no
var thePhoto =
dennis wrote:
If this makes a difference, the image is defined within this set of
divs:
div id=theImages
div id=drag class=dropaccept
img src=static/galleries/JQm49CWi09/_t/lilly01_fuy.jpg/a
/div
/div
I haven't used draggables, but it looks like drag in this case is a
jQuery object. In
Try this: $('img', drag).attr('src');
--
Brandon Aaron
On 4/28/07, dennis [EMAIL PROTECTED] wrote:
On Apr 28, 4:27 pm, Dave Cardwell [EMAIL PROTECTED] wrote:
I haven't used draggables, but it looks like drag in this case is a
jQuery object. In that case, you want drag.attr(src).
On Apr 28, 5:25 pm, Brandon Aaron [EMAIL PROTECTED] wrote:
Try this: $('img', drag).attr('src');
Brandon, that idiom works. I'll stop banging my head now.
Thanks BIG!
/dennis
5 matches
Mail list logo