[UPHPU] jquery: hover(over,out)
Wade Preston Shearer
lists at wadeshearer.com
Mon Dec 8 19:47:32 MST 2008
Can anyone explain to me why this:
function banana() {
alert('banana function called');
}
$('tr').hover(
function() {
banana();
},
function() {
banana();
}
);
…works, but this…
function banana() {
alert('banana function called');
}
$('tr').hover(banana(), banana());
…does not?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20081208/abe33ba8/smime.bin
More information about the UPHPU
mailing list