Craga89/qTip2 — Issue #285: IE throws javascript error on clicking qtip arrow with jquery live on page
Author: lesliev85
Created: 2011-12-07 12:31:49+00:00
State: open

Steps to reproduce bug:
----------------------------------

1. Initialize qtip on an element. With the following options
```javascript
$('.showtip').qtip({
content:
{
text: function()
{
return 'Some text';
}
},
position:
{
viewport: $(window),
at: 'bottom center',
my: 'top left',
target: 'mouse',
adjust:
{
mouse: false
}
},
show:{
delay: 150
},
hide: {
delay: 50,
fixed:true
}
});
```

2. On the same page, attach a click event on a **selector containing filters**, using jQuery live()
Eg. $("input:checkbox").live('click', function(){ // do something here }) ;
**Note:** Do step 1 and 2 on page load i.e. $(document).ready();

3. Hover over the element in IE7 or IE8, and **click on the tooltip arrow**.

Observation:
------------------

IE throws a javascript error.
Qtip stops working after that. In fact the entire browser needs to be restarted for qtip to work again.

jQuery version used 1.5.2
qTip2 latest nightly used.