Shorter Solution: 74 Bytes #1

Closed
catearcher opened this Issue Jan 20, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@catearcher

You can set the value of the novalidate attribute to i, and you don't need the trailing semicolon.

for(var f=document.forms,i=f.length;i--;)f[i].setAttribute("novalidate",i)

@rdetert

This comment has been minimized.

Show comment
Hide comment
@rdetert

rdetert Feb 27, 2015

Setting a value to novalidate also fixes the problem in Firefox [#2]

rdetert commented Feb 27, 2015

Setting a value to novalidate also fixes the problem in Firefox [#2]

@makeusabrew

This comment has been minimized.

Show comment
Hide comment
@makeusabrew

makeusabrew Feb 28, 2015

Owner

❤️

Owner

makeusabrew commented Feb 28, 2015

❤️

@makeusabrew

This comment has been minimized.

Show comment
Hide comment
@makeusabrew

makeusabrew Feb 28, 2015

Owner

Now proudly displayed on the home page. Thanks @catearcher!

Owner

makeusabrew commented Feb 28, 2015

Now proudly displayed on the home page. Thanks @catearcher!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment