olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7.02k stars 1.97k forks source link

How to do removeClass on a Input at runtime #1117

Closed petervanderwalt closed 6 years ago

petervanderwalt commented 6 years ago

Hi

I am trying to switch from Bootstrap4 to Metro 4

In BS I could do $("#usernameinput").removeClass("alert"); ("#usernameinput").addClass("success"); (To change the border from red to green)

However, in Metro, this has no effect?

For