I made an angularjs application with multiple pages. I need to update the $('input') selector every time the page changes. I tried initializing the keyboard every time but it doesn't work (the focus remains always on the first input).
Is there a way to completely remove the keyboard so that I can create a new one? Or a way to update the given inputs?
I found a way to detach all events from the keyboard:
$('.keyboard-container').html(""); oldKeyboard.$el.unbind(); oldKeyboard.$container.unbind(); $('body').unbind("mouseup touchend");
I made an angularjs application with multiple pages. I need to update the
$('input')
selector every time the page changes. I tried initializing the keyboard every time but it doesn't work (the focus remains always on the first input).Is there a way to completely remove the keyboard so that I can create a new one? Or a way to update the given inputs?
Thanks