[jQuery] Re: plugin creation question

2008-02-15 Thread Joel Birch
Maybe the problem is from attaching your 'options' property to the jQuery object? I've been storing an element's options in an array and just attach the index integer (or 'serial') to the DOM element so you can then do something like this to retrieve an element's unique options object: var myOpts

[jQuery] Re: plugin creation question

2008-02-15 Thread Alexandre Plennevaux
Hi Joel, i followed your advise which is helpful, but still, i get the same error. i don't get it... On Feb 14, 2008 6:24 AM, Joel Birch <[EMAIL PROTECTED]> wrote: > > Hi Alexandre, > > I didn't really look too closely at your code but this might help > anyway. Try removing the brackets from t

[jQuery] Re: plugin creation question

2008-02-13 Thread Joel Birch
Hi Alexandre, I didn't really look too closely at your code but this might help anyway. Try removing the brackets from the bit where you assign initializeUploader to onIni so it looks like this: $.fn.jqUploader.defaults = { onIni: initializeUploader, /*remove brackets*/ // more options...