Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Correcting the syntax
Message
De
11/11/2014 01:49:04
 
 
Information générale
Forum:
Javascript
Catégorie:
Autre
Divers
Thread ID:
01610838
Message ID:
01610850
Vues:
31
>I corrected the syntax. All seems to be working now.
>
>>Hi everybody,
>>
>>I'm re-working the User Story I completed previous sprint into tables rather than ng-grid.
>>
>>I have the following code which is syntactically wrong:
>>
>>
>><a href="javascript:void(0);"><span ng-click="drillDown({{result.invoiceNo}})">{{result.invoiceNo}}</span></a>
>>
>>I need to correct the part of span ng-click and I am not exactly sure of the correct syntax.
>>
>>Can you please help?
>>
>>Thanks in advance.
>>
>>UPDATE.
>>
>>I changed the code to use
>>
>>
>><a href="javascript:void(0);"><span ng-click="drillDown(result.invoiceNo)">{{result.invoiceNo}}</span></a>
>>
>>This didn't complain, I am testing now if that was the correct fix.

It looks as if 'drilldown()' is a $scope method and 'result.invoiceNo' is a property of $scope ?
If that is the case why are you bothering to pass it as a parameter ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform