You're right about more demos. On your current demo, click one checkbox and
both get set/unset. But even more interesting is that in Firefox, if you
click to the left or right of the checkboxes, they get triggered - even if
you're right across the other side of the page! Seems to be triggering on
On May 18, 3:12 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> I like that! In addition to what Jörn said I would suggest using the
> $.model namespace for all your other properties and methods.
>
> So $.modelOptions would then become $.model.options. This will cut
> down on the jQuery global na
On May 18, 2:47 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Thats quite interesting stuff. Some things of my mind:
> Use the metadata plugin to specify and read metadata.
> It would be nice if the textarea with the serialized model data could be
> edited. Once you change something, the form is
I've renamed the plugin to MVC (jquery.mvc.js) as I think it really
falls
more into the Controller part of MVC pattern. It makes it's purpose
clearer, and avoids confusion with the term modal!
New links:
http://jollytoad.googlepages.com/mvc-demo.html
http://jollytoad.googlepages.com/jquery.mvc.js
I like that! In addition to what Jörn said I would suggest using the
$.model namespace for all your other properties and methods.
So $.modelOptions would then become $.model.options. This will cut
down on the jQuery global namespace clutter.
Again, nice work!
--
Brandon Aaron
On 5/18/07, Mark
Mark Gibson wrote:
Hello,
I've got a new plugin for jQuery.
It's a simple data model, useful for implementing a client-side MVC
pattern.
The data model is a simple javascript object/array hiearchy.
The plugin provides methods for binding parts of the model to DOM
elements
and/or functions - so
6 matches
Mail list logo