- Screen name: devilishdil
devilishdil's Profile
3 Posts
1 Responses
0
Followers
Show:
- Expanded view
- List view
Private Message
- Is there any way to fix the formatting on this.
http://shanewmiller.com/Specials/testing.html is the site.
- Is there a way to create a loop for the <h3> and <div> statements inside an jquery accordion , so I can iterate through my JSON.
- 01-Nov-2012 04:54 PM
- Forum: Using jQuery UI
Hello Everyone,Getting an issue with using the JQuery Selectable function. I've moved the code a little, but now get this error:SCRIPT438: Object doesn't support property or method 'selectable'The code is shown below:
<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><style type="text/css">
html { height: 100% }
body { height: 100%; margin: 0; padding: 0 }
#map_canvas { height: 100% }
</style>
<link rel="stylesheet" href="jquery-ui-1.8.23.custom/development-bundle/themes/base/jquery.ui.all.css">
<script src="jquery-ui-1.8.23.custom/development-bundle/jquery-1.8.0.js"></script>
<script src="jquery-ui-1.8.23.custom/development-bundle/ui/jquery.ui.core.js"></script>
<script src="jquery-ui-1.8.23.custom/development-bundle/ui/jquery.ui.widget.js"></script>
<script src="jquery-ui-1.8.23.custom/development-bundle/ui/jquery.ui.mouse.js"></script>
<script src="jquery-ui-1.8.23.custom/development-bundle/ui/jquery.ui.selectable.js"></script>
<script src="jquery-ui-1.8.23.custom/development-bundle/ui/jquery.ui.datepicker.js"></script>
<link rel="stylesheet" href="jquery-ui-1.8.23.custom/development-bundle/demos/demos.css">
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js'></script>
<script>$( "#selectable" ).selectable({ ////////////////Where the error is showing
selected: function(event, ui){
var selectedValue = ui.selected.value;
if (selectedValue == 1){
$("#content").load('testing.html');
}
}
});$( "#datepicker" ).datepicker({
showOn: 'button',
buttonText: "select"
});
});Any ideas would be greatly appreciated.Thanks- «Prev
- Next »
Moderate user : devilishdil
© 2012 jQuery Foundation
Sponsored by
and others.


