i dont know fancybox, but if your lightbox supports HTML it should support submitting a FORM. i'd try to initialize the fancybox on the div containing the form, not the form itself.

Hilmar Kolbe wrote:
Is there a way to get a fancybox (<http://fancy.klade.lv/>) or any
other lightbox from submitting a FORM (with an image button)?

HTML looks like this:

<form action="/ACTION/FastFindObj" method="post">
  <input name="fastfind" class="fastfind" value="3463" type="text">
  <input src="/images/ic_ml_lgl.gif" name="weiter" type="image">
</form>

These won't do:

        $("form").fancybox(); 
        $("input").fancybox();
        $("input[name='weiter']").fancybox();

Anyone spotting my mistake or having a workaround or an alternative
script? Thanks in advance


Reply via email to