Hello Everyone,
I have developed a page which is for user registration, I am using jquery.mobile-1.1.1.min for page development and jquery.validationEngine for validating my form, the problem when the form validates one of my select box will show validation message if it is not selected but that message is not getting hidden after I select proper value it is happening only in android 2.2 and 2.3 browsers.
The following is the code where I am facing the problem
- <fieldset data-role="controlgroup" >
<select name="year" id="year" class="validate[required,custom[onlyNumber],min['.(date('Y') - 100).'],max['.(date('Y') - 20).']]">
<option>年</option>
<?php
$current_yr = date('Y');
$start_yr = $current_yr - 100;
$end_yr = $current_yr - 20;
for ($i = $start_yr; $i <= $end_yr; $i++ ) {
echo "<option value=$i>".$i."</option>";
}
?>
</select>
<select name="month" id="month" class="validate[required,custom[onlyNumber],min[1],max[12]]">
<option>月</option>
<?php
for ($num = 1; $num <= 12; $num++){
$mon = sprintf("%02d", $num);
echo "<option value=$num>".$mon."</option>";
}
?>
</select>
<select name="day" id="day" class="validate[required,custom[onlyNumber],min[1],max[31]]">
<option>日</option>
<?php
for ($j = 1; $j <= 31; $j++){
$day = sprintf("%02d", $j);
echo "<option value=$j>".$day."</option>";
}
?>
</select>
</fieldset>
Please guide me regarding this..
Thanks in advance...