Tuesday, February 22, 2011

A very light-weight Database Access Layer, 400 lines

A very light-weight Database Access Layer,  400 lines

Datagrid example by JQuery template in ASP.NET MVC

Datagrid example by JQuery template in ASP.NET MVC

How to filter out space in textbox by JQuery?

How to filter out space in textbox by JQuery?
    $("#<%=TextBox.ClientID %>").keyup(function () {
        var trimspace = $("#<%=TextBox.ClientID %>").val().trim();
        $("#<%=TextBox.ClientID %>").val(trimspace);
    });