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...
Shop at Rajamanickam.com | Birthday Gift Idea? | Hire me for $6 per Hour
Get 3 useful ebooks for Rs 99 in India and $5.99 globally
Get a 75% commission | ChatGPT and and Google Gemini for Beginners (Use Discount code QPT)
Friday, April 3, 2009
Search This Blog
Art of Talking to AI | Tech eBook | Dream Big | Listen to Dream Big
Today's Deals | Timesheet | Products | 3 ebooks for $5.99 / Rs 99 | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
Today's Deals | Timesheet | Products | 3 ebooks for $5.99 / Rs 99 | Earn 50% commission
About | Privacy | Follow | TOS | WhatsApp | Contact
I may earn a commission from Amazon affiliate links
No comments:
Post a Comment