Bootstrap dropdown with input

i'm trying to create bootstrap dropdown with a dynamic input, but the problem is i cant manage to type in it properly . here is an example: http://www.bootply.com/126312

any ideas?

Answers


$('#addToFavorites').click(function(e) {
    e.stopPropagation();
    $(this).html('<input type="text" class="form-control" placeholder="כתוב שם ולחץ אנטר להוספה">');
    $('.form-control').focus(); // this is added
});

Need Your Help

Communication between android native and react native

android android-layout localization react-native

I know in IOS I can communicate between native and react native, for example I could pass an object-c property to react native.. How could I do the same with android?