Zulqadar Idrishi

Zulqadar Idrishi

  • NA
  • 471
  • 71k

Access HTML Elements that contains square bracket

Dec 6 2019 10:46 PM
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)