Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Focus
Message
De
27/07/2014 03:44:19
 
 
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Divers
Thread ID:
01604694
Message ID:
01604759
Vues:
33
J'aime (1)
>>>I just added this line into it
>>>
>>> if (element[0].disabled = "false")
>>>
>>>Not sure, if correct at all or not. Will try it out.
>>>
>>>UPDATE 2. Adding this line made control show disabled, so I removed it from the directive.
>>>
>>>Thanks in advance.
>>
>>= is assignment. Use ===
>
>I think I got the idea I thought of originally implemented. See my solution and discussion here
>
>http://stackoverflow.com/questions/24966135/conditional-focus/24978138#24978138
>
>Since I am very new to AngularJs I may be not using best practices. If you can check my implementation, can you tell if it's OK?
>
>Thanks in advance.

Looks OK me - but that doesn't mean a lot. :-}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform