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(
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.
input name=somename type=hidden value=somevalue/
then you could use
$('[name=somename]').attr('disabled','') to enable
$('[name=somename]').attr('disabled','disabled') to
2010/1/13 Balázs Suhajda suhaj...@gmail.com
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
input name=somename type=hidden value=somevalue/
then you could use