[jQuery] livequery breaking on inserting html in IE
I've been working on this for quite a while trying to figure out why I
can only get a click to be recognized by IE once. If a user clicks on
another element, and then goes back to the original one, nothing
happens.
I've gone right down to this
<code>
jQuery("ul.showList li.show div.showData, ul.myShowsList li.show
div.showData, ul.myFriendsShowsList li.show div.showData,
div#popForecast li.show div.showData, div#gigList li.show
div.showData").livequery('click', function(){
var getSelected=jQuery(this).parent('li.show').html();
var eventid=jQuery(this).parent('li.show').attr('id');
clickedShow(getSelected, eventid);
});
function clickedShow(getSelected, eventid){
var currentSelected=jQuery('div#selectedShow').attr('class');
if(currentSelected!=eventid){
var closeSelected='<img src="hwImages/close.gif" id="closeThis" /