2010/1/13 Balázs Suhajda
> I would suggest using a hidden input or 2.
> Using jquery you can easily set them to be disabled and then they will
> not submit.
>
Thanks for the tip Balázs !
Cyril
>
>
> then you could use
> $('[name="somename"]').attr('disabled','') to enable
> $('[name="somena
I would suggest using a hidden input or 2.
Using jquery you can easily set them to be disabled and then they will
not submit.
then you could use
$('[name="somename"]').attr('disabled','') to enable
$('[name="somename"]').attr('disabled','disabled') to disable
When you call submit() on a form, th
Hi,
In a form, there are 2 inputs (type = submit). I prevented the submit in
order to use a dialog.
For example, on the input 1 click event :
$('#mySubmit1').click(
function (e) {
e.preventDefault(); // prevent the submit action
[...]
$dialog.dialog(