It's expected behavior,look at http://jquery.com/blog/2007/01/14/jquery-birthday-11-new-site-new-docs/ : <qoute> You can now pass in a function as a value for an attribute or a css property. The function is executed and its return value is set as the value for the property. </quote> By the way,function is invoked(simple insert "alert" inside) but returned value is not used.
On Nov 13, 7:26 pm, XASD <[EMAIL PROTECTED]> wrote: > functionin place of value for property dosen't work. > > Thanks.