SSL certificate problem: self signed certificate in certificate chain

Go to and download the pem file and save in your php installation directory ( make sure while saving it retains the extension and not saved as a text file )

Now, open your php.ini file, scroll to the bottom and add the following line:


Replace D:\xampp\php\cacert.pem with the actual path.

customSelect plugin with hidden elements

There is a problem where HTML select elements that are initially hidden do not update when their value is changed.  This is because the plugin cannot get the width of the element if not on the screen.

Workaround is to only trigger the plugin on hidden elements when they become visible.  A quick way to do this is to use a customSelectHidden class on the hidden selects and when they become visible run this code…