Function inadvertently executed when using .live in jQuery?

The only obvious error is the brackets from around the function() { } definition.

The only obvious error is the brackets from around the function() { } definition. However that wouldn't cause immediate invocation unless you had trailing a () parameter list too. Is your code snippet complete?

The syntax: $(". Pika_thumb"). Live("click" , function () { $("#video").hide(); $(".

Pika_main").show(); }); check if you don't have something else that fires the click on your . Pika_thumb class.

Aside from the brackets, my final working code is: $("#gallery"). Delegate(". Pika_thumb", "mousedown" , function () { $(".

Video-js"). Get(0).pause(); $("#video").hide(); $(". Pika_main").show(); }); Thanks everyone!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send