I've got this problem. I open my jQueryUI dialog window, but I need to call some additional function on that. The point is, that content of the dialog is loaded by AJAX and I need to load any other content using AJAX as well (I have some kind of list on that and since the list may content huge amount of items, I need to split it into pages, into smaller amouts of data) Here is my code:
<script type="text/javascript">
$(function() {
loadObjects(1);
});
var loadObjects = function(page) {
// do something
};
</script>
My console keep telling me? TypeError: 'loadObjects' is not a function. But when I try to run this code not in the jQueryUI dialog (but on plane page), there is obviously no problem.
When I googled this error I only found out, that jQuery may be blocking any JS code on purpose, because of some IE explorer error.
Can anybody help me?
Thanks !