newbie in Jquery (including but no result)

Posted by Negin on Stack Overflow See other posts from Stack Overflow or by Negin
Published on 2011-06-24T00:00:14Z Indexed on 2011/06/24 0:22 UTC
Read the original article Hit count: 178

Filed under:
|

I have this code:

<html>
<head>
</head>
<body>
<form method='post'>
<link type="text/css" href="css/themename/jquery-ui-1.8.14.custom.css" rel="Stylesheet" />  
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.14.custom.min.js"></script>
<style>
    #feedback { font-size: 1.4em; }
    #selectable .ui-selecting { background: #FECA40; }
    #selectable .ui-selected { background: #F39814; color: white; }
    #selectable { list-style-type: none; margin: 0; padding: 0; width: 60%; }
    #selectable li { margin: 3px; padding: 0.4em; font-size: 1.4em; height: 18px; }
    </style>
    <script>
    $(function() {
        $( "#selectable" ).selectable();
    });
    </script>



<div class="demo">

<ol id="selectable">
    <li class="ui-widget-content">Item 1</li>
    <li class="ui-widget-content">Item 2</li>
    <li class="ui-widget-content">Item 3</li>
</ol>

</div><!-- End demo -->



<div class="demo-description" style="display: none; ">
<p>Enable a DOM element (or group of elements) to be selectable. Draw a box with your cursor to select items. Hold down the Ctrl key to make multiple non-adjacent selections. </p>
</div><!-- End demo-description -->
</form>
</body>
</html>

I downloaded the jquery but it has no result I used this site:

http://jqueryui.com/demos/selectable/#event-create

what is wrong here?

© Stack Overflow or respective owner

Related posts about jquery-ui

Related posts about jquery-selectors