aspx Tutorial

NET Articles,jQuery demo, asp.net with jQuery, online tutorial,Jquery, SilverLight, Javascript, asp.net,JSON, MVC,.NET Articles,demo, Web Services,
Advertise Here

Toolbar

Get our toolbar!

Advertize



{#advanced_dlg.about_title}
by Aamir Hasan   on Tuesday, January 4, 2011
In this example, we will see how to disable copy, cut , paste on browser’s... More
{#advanced_dlg.about_title}
by Aamir Hasan   on Tuesday, December 21, 2010
The following example demonstrates how can we count the number of rows in a table using jQuery.. More
{#advanced_dlg.about_title}
by Aamir Hasan   on Wednesday, November 10, 2010
how to pass value from code behind to javascript. More
{#advanced_dlg.about_title}
by Aamir Hasan   on Wednesday, November 10, 2010
how to pass javascript value to server side. More
{#advanced_dlg.about_title}
by Aamir Hasan   on Friday, November 5, 2010
How to get the page name from URL. More
Tags:
{#advanced_dlg.about_title}
by Aamir Hasan   on Thursday, November 4, 2010
Yesterday, some one asked me how to remove whitespaces at beginging and end of a string in javascript. So, i decided to make a trim function which will remove whitespaces from begining and end of a string. Here's an example <!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">    <title></title>    <script language="javascript">        function LTrim(value) {            var re = /\s*((\S+\s*)*)/;            return value.replace(re, "$1");        }        function RTrim(value) {            var re = /((\s*\S+)*)\s*/;            return value.replace(re, "$1");        }        function trim(value) {            return LTrim(RTrim(value));        }        function getValue() {            var username = trim(document.getElementById('<%=TextBox1.ClientID %>').value);            if (username != '')                alert(username);        }          </script></head><body>    <form id="form1" runat="server">    <div>        Username:        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>        <input id="Button2" type="button" value="Submit" onclick="return getValue();" />    </div>    </form></body></html> Output Download Trim function.zip (894.00 bytes) Live demo
{#advanced_dlg.about_title}
by Aamir Hasan   on Monday, November 1, 2010
In this article I have told you that how to Append javascript link under the head section... More
Tags:
{#advanced_dlg.about_title}
by Aamir Hasan   on Thursday, August 19, 2010
In this tutorial, I will show you how to transmit JSON Object. I will also use the jTemplate with jQuery within ASP.NETMVC.... More
Tags:
{#advanced_dlg.about_title}
by Aamir Hasan   on Tuesday, July 27, 2010
how to optimize the web page, Loading fast page make the client experince. More
{#advanced_dlg.about_title}
by Aamir Hasan   on Saturday, March 6, 2010
Aamir Hasan has explained that how to add css links programmatically in asp.net page using Javascript... More
Tags:
Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5