weeiiirdd dialog with JQUERY
I don't who should be "blammed" for this error ... jquery or firefox3
i have testing a dialog box. I did a empty box which I declared like
this.
[code]
<div id='mybox'> test </div>
......
<script>
$('#mybox').dialog(
{autoOpen:false,
modal: true, width: 760, height: 500,
position:'center',overlay: { backgroundColor: '#212121',
opacity: 0.5 }
});
</script>
[/code]
and then on my button i bind 'click' event with just $
('#mybox').dialog('open');
the first click was successfull open the window
after that, the second attempt was failed.. it says jquery.1.2.6.js is
out of memory ...
on line 619
[code]
// See test/unit/core.js for details concerning this function.
617 isFunction: function( fn ) {
618 return !!fn && typeof fn != "string" && !fn.nodeName &&
619 fn.constructor != Array && /^[\s[]?function/.test( fn + "" );
620 },[/code]
(this is only happened with Firefox 3, firefox 2 was fine)
and i am sure my memory was enough, there are 200 mb left ...