Assume that we are having HTML webpage with more content. (i-e the content extends more than height of the browser). Normally, on clicking a hyperlink (i-e anchor tag) having href as "#", top of the web page will be displayed. If we use "return false" as below, we can avoid this jump.(i-e the web page will show the portion having the clicked hyperlink).
<a href="#" onclick="javascript:alert('www.qualitypointtech.com');return false;" >click here</a>
More Articles...
Friday, April 3, 2009
Popular Posts
- Software Testing Quiz Questions and Answers
- Javascript Quiz Questions and Answers
- MySQL Quiz Questions and Answers
- SEO Your Blog the Easy Way - Guest Post
- SEO (Search Engine Optimization) Quiz Questions and Answers.
- HTML Quiz Questions and Answers
- PHP Quiz Questions and Answers
- Best Motivational Quotes Book | Kindle eBook and Paperback | Read for FREE with Amazon's Kindle Unlimited
- Basic Computer Hardware Quiz Questions and Answer.
- Use of tinyurl in Twitter

No comments:
Post a Comment