Here is a very simple, yet flexible, custom drop-down selection control. Very lightweight JavaScript and all the needed options. You can also register to be notified of a selection and have it pass you a HTML "data-" tag value. You'll need jQuery and Bootstrap.
Note: You write your use normal Bootstrap 4 drop-down menu code, then just create an instance of the plugin, and wah-lah! Very nice.
Give it a whirl on on JsFiddle.
Just some random development ramblings mostly related to the Microsoft .NET platform.
Subscribe to:
Post Comments (Atom)
Can't RDP? How to enable / disable virtual machine firewall for Azure VM
Oh no! I accidentally blocked the RDP port on an Azure virtual machine which resulted in not being able to log into the VM anymore. I did ...
-
Oh no! I accidentally blocked the RDP port on an Azure virtual machine which resulted in not being able to log into the VM anymore. I did ...
-
Here is a full test program that demonstrates how to use SharpZipLib to zip an XElement into a byte array. This allows you to transfer larg...
No comments:
Post a Comment