Without even looking at the code, I would guess you're using the thickbox to display content that you have elsewhere on the page? If so, that would be the source of the problem. Cody's thickbox shows a copy of the elements for displaying inline, and the event handlers aren't applied to the copies. I ran in to this exact same thing trying to do a login box. Possible solutions are: use a different light box, hack up the thickbox code, or have your login page be a separate page that the thickbox loads through an iframe.

--Erik

On 11/11/06, leftend <[EMAIL PROTECTED]> wrote:

Hello, I'm running into a case where the "click" event is not working on one
of my pages.  The strange thing is that I know the code is alright, because
I've pulled it out and used it on test pages.  It's kind of hard to explain,
so I'll jump right to a url:

http://www.the-in.com/dev/Learn_UserProfile.aspx

If you click the "Login" link in the upper-right - I'm successfully popping
up a thickbox with a login form in it.  My main question revolves around the
"Forgot your password?" link in the thickbox.  When you click on it, it
should slide down a hidden div that allows you to get your password - but no
dice...

Here's what the link looks like:
# Forgot your password?

And here's where I wire up the click event:
$(document).ready(function() {
                $("#lnkForgot").click(function() {
                        $("#divForgot").slideDown(500);
                });
        });

Because this same code has worked in my test pages, I would guess the issue
lies with some other js/html on the page, but I'm not sure how.  But then
again, thickbox is working fine... so maybe not?

Please help!!

Thanks,
Chad
--
View this message in context: http://www.nabble.com/click-event-not-working---tf2612228.html#a7290742
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to