Disable Text selection when we click the mouse on the browser.

Posted by Ddd under JavaScript category on | Points: 40 | Views : 3644
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default4.aspx.cs" Inherits="Default4" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<!--Write this code--->
<body onselectstart="return false">
<form id="form1" runat="server">
<h1>hello asp.net</h1>
<p>first paragraph</p>

Comments or Responses

Login to post response