a
This commit is contained in:
parent
3072a6a579
commit
523177eb48
|
|
@ -7,6 +7,8 @@
|
||||||
<input id="lancerrechercheparcarte" name="lancerrechercheparcarte" class="sr-only" type="submit" value="<?= _("Rechercher") ?>" >
|
<input id="lancerrechercheparcarte" name="lancerrechercheparcarte" class="sr-only" type="submit" value="<?= _("Rechercher") ?>" >
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
<div id ="div_wait_nfc"> </div>
|
||||||
|
|
||||||
<?php if (isset($msgErreur) && $msgErreur>" "): ?>
|
<?php if (isset($msgErreur) && $msgErreur>" "): ?>
|
||||||
<div class="alert alert-danger" style="height:38px; padding:5px;" >
|
<div class="alert alert-danger" style="height:38px; padding:5px;" >
|
||||||
<H4><?= $msgErreur ?></H4>
|
<H4><?= $msgErreur ?></H4>
|
||||||
|
|
@ -17,6 +19,11 @@
|
||||||
document.getElementById('donneesCarte').addEventListener('change', function () {
|
document.getElementById('donneesCarte').addEventListener('change', function () {
|
||||||
if (this.value.length > 3) {
|
if (this.value.length > 3) {
|
||||||
alert("submit");
|
alert("submit");
|
||||||
|
|
||||||
|
var div_wait_nfc = $('#div_wait_nfc');
|
||||||
|
|
||||||
|
div_wait_nfc.html('<div style="padding-top:80px; text-align:center; font-size:14px; color: #4caf50;"><span><i class="fa fa-spinner fa-spin fa-5x" >' + '</span></div>');
|
||||||
|
|
||||||
this.form.submit();
|
this.form.submit();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user