https://github.com/claviska/jquery-selectBox with dynamic select

https://github.com/claviska/jquery-selectBox with dynamic select

Hi all,

I'm implementing a jquery script to style my selectboxes. This is the script I'm using: https://github.com/claviska/jquery-selectBox and it works fine.

Now the problem I'm facing is that one of the select boxes is dynamically loaded. In other words; it loads after my js loads. At first this selectbox wasn't styled at all. I got this fixed allready.
To finish this I want to add a custom class to the .selectBox() function, only I'm not sure how to do this.
I'm thinking of something like
  1. $('.mydynamicselect').selectBox({
  2. // here goes the css adding?
  3. });
The github page isn't answering my questions, so hopefully someone here can help me with this?