Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing existing SingleSelect

Daniel Garcia
Contributor
June 26, 2019

If I execute the following, it will convert an existing field to a SingleSelect and set myvar to an instance of SingleSelect

let myvar = new AJS.SingleSelect($("#someselector"));

If I have an existing SingleSelect on the page, is there a way to retrieve that object?

0 answers

Suggest an answer

Log in or Sign up to answer