Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why pressing Enter does not trigger the search?
Message
De
07/04/2016 10:30:54
 
 
Information générale
Forum:
CSS
Catégorie:
Dépannage
Divers
Thread ID:
01634461
Message ID:
01634502
Vues:
25
maybe I should expand a little more (general JS experience, not AngularJS)
<div class="input-group" style="margin-top: 20px;" ng-keyup="function(e){if ((e.which || e.keyCode) === 13 /*enter*/ && $(this).find('input').val().length ) doSimpleSearch(simpleSearch)}">
>>>Why it doesn't work in the Modal form?
>>>
>>>Thanks in advance.
>>
>>I think you need to wrap in a form with ng-submit to get that behaviour ?
>
>Hi Viv,
>
>Last night I was thinking exactly the same thing. I'll try first Thierry's suggestion and then may try yours if that will not work.
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/
Never explain, never complain (Queen Elizabeth II)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform