Hello. I’ve tried jqwidgets for a few days and got amazed by it. But I got some difficulties.
I am using jqwidgets with Yii Framework. I use jqxtree with jqxtabs, so everytime user click menu on the left, it will open a new tab, which content is loaded via AJAX. e.g I click on User menu, it will show list of user, using jqxgrid ( page list.php ) and on list.php I have a button, which if clicked will load user’s form.php via AJAX and located at the top of the grid. The form has been loaded successfully, but the jqx functions on form.php does not loaded. Here is the code :
var theme = "metro";$(document).ready(function() { $("#user-submit-btn").jqxButton({ theme: theme, width: "80px"});});
But I got error on firebug saying :
Uncaught TypeError: Object [object Object] has no method ‘jqxButton’
(anonymous function)
fire
self.fireWith
jQuery.extend.ready
Is there something I’m missing ? Please help, thank you