Fancybox is creating a new div and inserting a copy of the form into
it.  This type of selection will allow you to access the form element
values:

$('#fancy_div #yourName').val()
$('#fancy_div #yourMail').val()

However, the copied form appears to be recreated after being closed
and reopened.  When you open the form again the values are reset.

I hope this helps.

Jeremy

On Dec 2, 7:42 pm, kenyabob <andy.skogr...@gmail.com> wrote:
> I have built a contact form that appears using lightbox at the
> following site:
>
> http://www.dassant.com/
>
> The jquery in question can be found here
>
> http://www.dassant.com/_scripts/mailer.js
>
> The .val() of the input fields gives me nothing, although it seems
> that I can toggle them on and off in the form. Why aren't they
> reporting their values?

Reply via email to