Hello. In jQuery Mobile 1.3 RC1, if you click at an item <input> type (in my case type password) generates a hidden with the same name, causing the issue when submit the information, since the value of first hidden always null. If given 20 times <input click t>, adds 20 times the same hidden. Reviewing JQM 1.3 RC1, I noticed that the job they are doing this behavior is:
//
add
active
state
on
vclick
$.
mobile.
document.
bind( "
vclick",
function(
event ) {
var
$btn,
btnEls,
target =
event.
target,
needClosest =
false;
//
if
this
isn'
t
a
left
click
we
don'
t
care.
Its
important
to
note
//
that
when
the
virtual
event
is
generated
it
will
create
the
which
attr
if (
event.
which >
1 || !
$.
mobile.
linkBindingEnabled ) {
return;
}
//
If
this
is
a
vclick
on
a
button,
we
must
make
sure
its
value
will
be
//
recorded
in
the
resulting
form
data
by
adding
a
hidden
input
that
//
carries
the
button'
s
value
maybeCreateHiddenInput( $( target ) ); //< -- Problem
on my site are not the hiddens eliminating automatic on submit, when doing so the information is always null