[jQuery] Click event not working?

2009-08-27 Thread Kris S

I'm trying to execute a function animate_next() when a div element
is clicked, but it isn't working. Here is what it looks like..

$('#playground').click(function(){animate_next();});

If I put..

$('#playground').ready(function(){animate_next();});

..then it will work fine.

Here is the div element on the page..

div id=playground style=width: 800px; height: 600px; background:
#66


[jQuery] click Event not working on first binded element on IE after one click

2009-02-01 Thread shahku...@gmail.com

So, I am implementing a page on which words that have hints associated
in the DB are binded with the click event to show the Hint. Initially,
I go through and replace the words with html that goes span
class=hintword/span

So, then I bind the hint class with the click event,
$(.hint).bind(mouseup,function(e)
{
var clickElement = e.target;
var clickText = $(clickElement).text();
$.post('term.cfc?method=getTermDefreturnFormat=json',
{term:clickText},showHint,json);
}
)

The problem is on IE 7, the first word that is binded, works fine for
the first click, but after that the click event for it is not
registered. For the rest of the words, the click event works fine.

On FF, everything works fine.

Any ideas on what could be wrong here?


[jQuery] Click event not working...

2007-08-28 Thread Andy Matthews
Does anyone have any idea why the click event on my blog isn't working in
IE7?
 
http://www.andyandjaime.com/
 
Clicking on the words 
 
Comments :X: - View comments
or
Comments :X: - Be the first to add a comment
 
should fire this code:
 
$('.openComments b').click(function(){
 
$(this).parents('.openComments').next('.comments').slideDown().parent('.comm
entShell').ScrollTo(800);
return false;
});
 
it works just fine in FF, but not in IE.
 

 
Andy Matthews
Senior ColdFusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com http://www.dealerskins.com/ 
 
dealerskinslogo.bmp