How do I add a custom class to a HTML input? | XM Community
Skip to main content
Looking to create a unique identifier on a HTML input to be able to hook up a multi select js function.
The selector for the input will vary based on the type of question. For this example, I'm assuming a text input:

```

jQuery("#"+this.questionId+" input[type=text]").addClass("customClassname");

```

Leave a Reply