I've found that writing my code with a modular OOP plugin mentality,
it's a lot easier to reuse my own code and trade snippets with others,
since it's already abstracted into a plugin.
I don't know if you've seen Mike Alsup's recent Learning jQuery post
about Plugin Dev, but it's a good read
Thanks all. I did have a think about which way around I wanted it to
work. Thinking about what will be returned is also handy.
I can see me wrting more plugins now.
Thanks again.
Adrian
On Oct 30, 2:51 am, Dave Methvin [EMAIL PROTECTED] wrote:
It'd be best to post a link to the sample. Most people won't go through the
time to copy and paste the above code to execute it.
Cheers,
-js
On 10/29/07, Adrian Lynch [EMAIL PROTECTED] wrote:
I hope this is ok to do. I've just done my first plugin and I thought
I'd ask for anyone's
Adrian,
Which elements would you likely work on next after copying values?
The order matters because you're going to return a jQuery element or
element set. I think it's better to be able to do something like
this:
$(ELEMENTS_TO_CHANGE).syncValue(ELEMENT_I_WISH_TO_COPY).show();
That way your
4 matches
Mail list logo