focus for p element code example
Example: focus js
focusMethod = function getFocus() {
document.getElementById("myButton").focus();
}
focusMethod = function getFocus() {
document.getElementById("myButton").focus();
}