[jQuery] Re: using jquery to get at the img data???

2008-10-20 Thread Ca-Phun Ung
Yes, Firefox supports canvas. Unfortunately IE does not... but I found this - http://ajaxian.com/archives/canvas-in-ie. I have not tried this so do not know whether it will work for you. Won't hurt to try though. :) On Tue, Oct 21, 2008 at 12:14 AM, whitewaterbug <[EMAIL PROTECTED]>wrote: > Canvas

[jQuery] Re: using jquery to get at the img data???

2008-10-20 Thread whitewaterbug
Canvas sounds like it might do the trick. Is canvas supported on IE and firefox? I looked into dataurl and the other limitation is also the size of the image must be small, which doesn't work for my purposes either. On Mon, Oct 20, 2008 at 11:55 AM, Ca-Phun Ung <[EMAIL PROTECTED]> wrote: > On

[jQuery] Re: using jquery to get at the img data???

2008-10-20 Thread Ca-Phun Ung
On Mon, Oct 20, 2008 at 6:19 AM, whitewaterbug <[EMAIL PROTECTED]>wrote: > > I believe this would require a 2nd download of the image so that it is > within the applet. I am trying to get the actual image data into the > applet through javascript to applet communication or having the applet > acc

[jQuery] Re: using jquery to get at the img data???

2008-10-20 Thread ricardobeat
You can't get the image data directly, just as you can't get a script's content. Would be nice being able to clone them, but unfortunately that's currently impossible. - ricardo On Oct 19, 8:19 pm, whitewaterbug <[EMAIL PROTECTED]> wrote: > I believe this would require a 2nd download of the imag

[jQuery] Re: using jquery to get at the img data???

2008-10-19 Thread whitewaterbug
I believe this would require a 2nd download of the image so that it is within the applet. I am trying to get the actual image data into the applet through javascript to applet communication or having the applet access the DOM directly. Since the image data is downloaded as the HTML is being pars

[jQuery] Re: using jquery to get at the img data???

2008-10-19 Thread Ca-Phun Ung
To get the image current image location: $('#myImage').attr('src'); To update DOM with new image use: $('#myImage').attr('src', [new image location]); On Sun, Oct 19, 2008 at 3:30 PM, whitewaterbug <[EMAIL PROTECTED]>wrote: > > I am trying to pull the image displayed in the DOM into an applet t