// Place this in your custom.js file jQuery(document).ready(function($) { $(".dropdown-menu li a").click(function(e) { e.preventDefault(); // Prevent the default link behavior var selectedText = $(this).text(); var selectedValue = $(this).data('value'); var dropdown = $(this).closest(".dropdown"); dropdown.find('.btn').html(selectedText + ' ' + ' '); dropdown.find('.btn').val(selectedValue); }); });
Facebook

Combining Brain Products and MindAffect for a fast, robust and reliable BCI speller

Get in touch with us