We are providing online training of realtime Live project on Asp.Net MVC with Angular and Web API. For more information click here. If you have any query then drop the messase in CONTACT FORM

Friday, July 17, 2015

Button Set Example in jQuery

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">

    <title></title>
    <script src="Scripts/jquery-2.1.1.js" type="text/javascript"></script>
    <script src="Scripts/jquery-ui.js" type="text/javascript"></script>
    <link href="themes/swanky-purse/jquery-ui.css" type="text/css" rel="stylesheet" />
    <link href="themes/swanky-purse/theme.css" type="text/javascript" rel="stylesheet" />
    <script type="text/javascript">
        $(document).ready(function () {
            $("#Panel1").buttonset();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Panel ID="Panel1" runat="server">
            <asp:CheckBox ID="chk1" runat="server" Text="option1" />
            <asp:CheckBox ID="chk2" runat="server" Text="option2" />
            <asp:CheckBox ID="chk3" runat="server" Text="option3" />
        </asp:Panel>  

    </div>
    </form>
</body>
</html>



Output:

No comments: