Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing class parameters programatically
#1
How do I change class parameters programatically, for example, I'm using Bootstrap and would like to change class parameters at validation:

Original class parameter:

<input type="text" class="form-control">

If user write wrong information, I would like to change it to:

<input type="text" class="form-control is-invalid">
Reply


Messages In This Thread
Changing class parameters programatically - by bostjan - 08-01-2023, 10:06 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)