(This is for feature requests and bugs in Struts2 jQuery Plugin - for
getting help, please use the User Group.
http://groups.google.com/group/struts2-jquery )
Hi,
When i am using jquery dropdownchecklist plugin of jquery along with
struts2jquery plugin. It is not able to recognize the jquery dropdownchecklist
plugin methods
What steps will reproduce the problem?
1.Include ui.dropdownchecklist.js,ui.dropdownchecklist.css, ui.core.js,jquery.js
2.Include struts2jquery plugin
3.use sj:head in the head tag and as well create a dropdown
What is the expected output? What do you see instead?
Expected output is it should give me a dropdown with checkboxes along with the
spinner widget of struts2jquery plugin.
But iam getting is "Uncaught TypeError: Object [object Object] has no method
'dropdownchecklist' " in chrome browser
Which struts2 version?
2.3.4.1
Which struts2-jquery plugin version?
3.3.3
Please provide any additional information below.
Using dropdownchecklist 1.4 version
Sample code is given below
<%@taglib uri="/struts-jquery-tags" prefix="sj" %>
<html>
<head>
<title>Hello World!!!</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="ui.core.js"></script>
<script type="text/javascript" src="ui.dropdownchecklist.js"></script>
<sj:head jqueryui="true"/>
<link rel="stylesheet" type="text/css"
href="ui.dropdownchecklist.css">
</head>
<body>
<select id="weeks">
<option value="Monday">Monday</option>
<option value="Tuesday">Tuesday</option>
<option value="Wednesday">Wednesday</option>
<option value="Thursday">Thursday</option>
<option value="Friday">Friday</option>
<option value="Saturday">Saturday</option>
</select>
<script type="text/javascript">
$(document).ready(function(){
$("#weeks").dropdownchecklist();
});
</script>
<sj:spinner ></sj:spinner>
</body>
</html>
Original issue reported on code.google.com by bindupri...@gmail.com on 19 Dec 2012 at 8:08
Original issue reported on code.google.com by
bindupri...@gmail.com
on 19 Dec 2012 at 8:08