- Member | 64
in Nette 2.3 Buttons and Hidden fields are generated without HTML ID. What is the reason and what is the best practice for ID handling in JS for hidden fields and for text inputs (for example)? Because specifying ID manually for every input in large project is very tough.
- David Grudl
- Nette Core | 7444
Good practice is to set up your own ID using
setHtmlId() or set
class or other HTML attribute using