Newbie-Question about post request from lightbox-effect

Newbie-Question about post request from lightbox-effect

Hi,

I want to have a form shown on a page with the lightbox-effekt. I took fancybox from http://fancy.klade.lv/

Everything is fine. Only one lttle thing doesn`t work: the post request isn't send to the right page.

my "db-result.php" looks like this:

<head>
<script type="text/javascript">
$(document).ready(function() {
$("a[rel*=fancybox]".fancybox({
'frameWidth:' 200,
'frameHeight:' 200,
</script>
</head>
<body>
<a class="iframe" href=search.php rel="fancybox"><img src="filter.gif" /></a>

my search.php looks like this:

<form action=db-result.php method="post">
<input onclick="parent.$.fn.fancybox.close()" type="submit">

What is missing to send the post-request to the db-result.php?

Can anyone help?
    • Topic Participants

    • 4news