Nope, you really need a form. Whats the problem with just using a form
element, at least nested within your div?

Jörn

On Mon, Sep 7, 2009 at 10:28 AM, Jozef A. Habdank<jahabd...@gmail.com> wrote:
>
> Hello Everybody,
>
> this is my first post here - please forgive me any stupid questions.
>
> My idea is to have a fully AJAX based form that will validate the
> input, then via AJAX post it, and accordingly to the AJAX response
> display some messages (no full postback). I have no problem with the
> AJAX itself, the only issue I face is that my 'form' is not actually a
> <form> - it is a simple <div> with some textboxes (I am using Asp, and
> using forms is not so easy here, sine you can not have nested forms).
> Unfortunately the jQuery validation (http://docs.jquery.com/Plugins/
> Validation) does not work for <div>. Is there any way to use jQuery
> validation without having to use <form> tag?
>
> Best regards,
> Jozef A. Habdank
>
> ps. awesome work done jQuery :)
>

Reply via email to