javascript - My website form fields are hiding behind the keyboard in mobile browser -


i implementing website. sort of plugin. has login page. when click username or password, body of website should compress. instead hides behind keyboard. using bootstrap inside it. tried implement script in header of page not working. tips?

$(document).ready(function() {     $('input').blur(function() {         $('body').css({'height':'100vh'})       })       .focus(function() {         $('body').css({'height':'50vh'})       });   }); 


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -