PHP webdeveloper and frontend developer




Scrollto element with an id selector using jQuery

Category : jQuery & javascript, HTML & CSS ยท by Feb 5th, 2015

For example, if I have a button with an id “btn” and a form with the id “form” and I want to scrollto the form when I click on the button

HTML:

 

 

jQuery:

 

SHARE :

Leave a Reply

Your email address will not be published. Required fields are marked *


s