May 23, 2011

how to set item selected of dopdownlist in jquery

//just use this..........
$("#"+'<%=DDLDept.ClientID %>'+' option:contains('+$(this).text().trim()+ ')').attr('selected', 'selected');

May 6, 2011

Simple OnLoad Command HTML

<html>
    <body onload='alert("The document has completely loaded.")'>
</html>

Simple OnLoad Command HTML

<html>
    <body onload='alert("The document has completely loaded.")'>
</html>

How To Select text of browser or getSelection() method returns the text

<html>
    <form name="Form1">
      <input type="text"
             name="TextArea">
    </form>
    <script language="JavaScript">
    <!--

    document.captureEvents(Event.MOUSEUP);

    document.onmouseup = function(event){document.Form1.TextArea.value =

document.getSelection()};

    -->
    </script>

    <Body>
Hi, Click On Me !!
    </Body>
    </html>

What is the use of n-tier architecture and 3-tier architecture?

how to implement 3-tier architecture in asp.net using c#. 3-Tier architecture is also called layered architecture. Some people called it ...