How to use enum values in jsrender -


i want assign enum value in jsrender. please refer below example:

public enum test{ male,female}  <div onclick="selectsex({{:@(int)test.male}})> 

in above case number 1 should pass. please me resolve this. in advance.


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -