0

I have a problem with JQuery. In theory I wanted to do some sort of Lighbox / popout with a form mail. But the problem is: I can't use the form because of starting the function to hide the Lighbox. I do not know if I can explain this and I have attached a small demo below.

<------------ Link of the Demo ------------>

Sorry for the bad English. I am good at understanding ... in the grammar but I pretty much suck.

1
  • Hi, if there is anyone willing to help me I will be online for 2 hours from now. Thanks, from Italy. Aug 4, 2013 at 19:28

1 Answer 1

0

Add this to your scripts:

$('.blackover form').click(function(e){e.stopPropagation();});

It will prevent the click-event of the form from bubbling upwards to the parent section-element

1
  • I am new in javascript (I'm 17 and I confess study-mail). but how do you know all these details. Mah! Ingenious! Thank you! Aug 4, 2013 at 19:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.