Hi all.
Today I improved jQuick.
The new version 1.1 supports events if passed as attributes, even with IE.
For example, instead of
$.FORM({},
$.LABEL({'for':'one'},Digit ),
$.INPUT({id:'one'}).click(setValues)
).submit(function(){return false;});
you could write:
$.FORM({onsubmit:'return
Suppose you want to add content to themyDiv div, you could write:
$('#myDiv').append(
$.DIV({'class':'big'},
$.SPAN({id:'one','class':'ps'},
'Hello Joe', $.I({},'!')
)
)
);
PS. I changed the 1.1 version some minutes ago in order to optimize it.
Instead of use
Francesco,
This is a really nice plugin. Excellent work. I missed your original
announcements so I had a quick question.
If I wanted to inject a DIV into a specific section of my page (perhaps
another DIV) using this code from your site:
$.DIV({'class':'big'},
Good stuff francesco.
On 2/18/07, Francesco Sullo [EMAIL PROTECTED] wrote:
Suppose you want to add content to themyDiv div, you could write:
$('#myDiv').append(
$.DIV({'class':'big'},
$.SPAN({id:'one','class':'ps'},
'Hello Joe', $.I({},'!')
)
)
);
PS.
Very nice! Thanks for the explanation. I'll redownload the code.
Rey
Francesco Sullo wrote:
Suppose you want to add content to themyDiv div, you could write:
$('#myDiv').append(
$.DIV({'class':'big'},
$.SPAN({id:'one','class':'ps'},
'Hello Joe', $.I({},'!')