| Problem with integrated Ajax-Function [message #58247] |
Fri, 08 August 2008 09:39 |
triggertoo Messages: 22 Registered: August 2008 |
Junior Member |
|
|
hi, using the extjs2 plugin, i try to call the ajax-function "remote_function", but this ends in the following javascript-error. Thx for answers...
function alertID(node){
if(Tree_Category.getSelectionModel().isSelected(node)){
if (node.isLeaf()){
<?php echo remote_function(array(
'update' => 'box',
'url' => 'mymodule/myaction',
))
?>
} else {
alert('Die Node-ID ist ' + node.id + ' leaf: false');
}
}
};
error:
this.el is undefined
focus()()ext-all-debug.js (Linie 19630)
delay()()prototype.js (Linie 231)
[Break on this error] this.el.child(this.buttonSelector).focus();
|
|
|