Is there any way to show keyboard with selected edit text. I used focus()
which is perfectly work for in browser. I am able to edit text when browser is ready.
Below is my code
$(document).ready(function() {
var allSelects = document.getElementsByTagName("p");
var lastSelect = allSelects[allSelects.length - 1];
lastSelect.focus();
$("#main_container").click(function() {
lastSelect.focus();
});
});
but when I load this site in mobile device then it is not appears mobile keyboard unless touch.
please find out the solution. Thanks in advance
` tag has `contenteditable` attribute?
– Kaiido Jun 27 '18 at 07:25