The problem with click event in ajax


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
3 views
there is a code

$(document).ready(function(){
$('.banner_stat').bind( 'click',
function(event){
$.get("index.phtml", { banner:$(this).attr("id")});
});

});


this code should fire when clicking the element(in my case a div). In mazile Opera everything works fine regardless of the content of diva... in chrome and ie doesn't work when inside there is a diva embed. Can I fix this?
by | 3 views

1 Answer

0 like 0 dislike
As already pointed out iStyx, clicks on the object inside the embed never make it to the customer.
I see 2 solutions, each of which is no better than the other:
1. Obrabatyvat click in the object (flash?) and pass it to the client.
2. Cover the top with clear object and a wonder to catch a click on it.
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
110,608 questions
257,186 answers
0 comments
27,859 users