I have the following jQuery:
$(document).ready(function()
{
$("#Button1").click(function () {
$("#divCompany1").slideToggle("fast");
});
$("divCompany1").focusout(function () {
$("#divCompany1").slideUp("fast");
});
});
Of which firefox reliably informs me:
Error: $("div").focusout is not a function Source File: http://localhost:2546/user_area.aspx Line: 456
I can't see anything obviously wrong both in my syntax and in the docs, any ideas?
This function is added on jQuery version 1.4. verify that you are using jquery version >= 1.4