Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

ternary inside html razor

<!--use ternary inside razor--> 
@count=0;
<input type="text" class="form-control" @(count == 0?"required":"") >
 
PREVIOUS NEXT
Tagged: #ternary #html #razor
ADD COMMENT
Topic
Name
7+5 =