79427420

Date: 2025-02-10 14:45:32
Score: 1.5
Natty:
Report link

Alternatively, you could use the id-attribute or any data-* attribute to select the hidden inputfield, e.g. <input type="hidden" data-id="myHiddenField" /> and then select it via document.querySelector( '[data-id="myHiddenField"]' ).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: superplug-in