2
Answers

Access HTML Elements that contains square bracket

Can I access HTML Elements that cantains square bracket and text inside it using javascript.
Like as:
<input type='text'  [Email]  class='form-control' />
 
This type of syntax works in Angular , I want to access this element just using that [Email] not by other methods or selectors.
 
Is it possible? Any way? 
 
Answers (2)