Click here to Skip to main content
15,890,385 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I did this but it didn't give expected ans . . .

XML
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Real_Estate._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
<link href="jquery-ui-1.10.4.custom/css/custom-theme/jquery-ui-1.10.4.custom.min.css" type="text/css" rel="Stylesheet" />
<script src="jquery-ui-1.10.4.custom/js/jquery-1.10.2.js" type="text/javascript"></script>
<script src="jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js" type="text/javascript">
    $(function () {
        $("#tabs").tabs();

    }
     );
</script>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:Label ID="Label1" runat="server" Text="Want to . . ."></asp:Label>
<div id="tabs">
<ul>
<li><a href="#tab-1">Buy</a></li>
<li>Sell</li>
<li>Rent</li>
</ul>
</div>
<div id="tab-1">
Hello World
</div>
</asp:Content>
Posted
Comments
JoCodes 13-Feb-14 5:27am    
What you mean by didnt give expected answer? whats the issue?
Peter (Member 10448473) 13-Feb-14 5:29am    
it should give me overlapping tabs as show in this link http://jqueryui.com/tabs/
JoCodes 13-Feb-14 5:51am    
Is your Javascript references correct? or getting any error?
Peter (Member 10448473) 13-Feb-14 6:00am    
yes it is correct...
Peter (Member 10448473) 13-Feb-14 6:07am    
just check this link you will understand what i want....
http://jqueryui.com/tabs/

1 solution

Write script in this way :

import your files Here :

JavaScript
<script>
$(function () {
        $("#tabs").tabs();
 
    }
     );
</script>
 
Share this answer
 
v2
Comments
Ahmed Bensaid 13-Feb-14 8:38am    
You are right ... It lacks a <script type="text/javascript"> before the script.
Good eyesight ;)
Peter (Member 10448473) 16-Feb-14 23:55pm    
thank you dilip you are write , thankx for your help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900