Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
actually i want to open my facebook profile on a click event in asp.net
like this please check this link and give me answer

https://www.facebook.com/aspcodingpoint/timeline?ref=page_internal[^]
Posted
Updated 7-May-15 3:21am
v2

1 solution

Oh, that's easy! Just use this JavaScript code.

HTML
<button onclick="window.open('https://www.facebook.com/aspcodingpoint/timeline?ref=page_internal')"></button>


Above code would handle the click event and open a new tab for your URL; which is your Facebook profile.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900