Link to jump to specific part of page

Simple anchor tag can be used to jump to specific part the page.

<a id="INSERT_YOUR_OBJECT_NAME_HERE">
<a href="#INSERT_YOUR_OBJECT_NAME_HERE">The object you want to link to.</a>

We can do it with jquery also

<a id="tab_jumps"></a>
<a href="#tab_jumps" id="tab_jump"></a>
 type="text/javascript">
$(function(){
	$('#Button').click(function(){
		window.location = $('#tab_jump').attr('href');
	});
});

 

Happy Coding!!!

Leave a Reply

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