This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Problem with integrated Ajax-Function

Forum to discuss ExtJS and other JS plugins

Problem with integrated Ajax-Function

by triggertoo » Fri Aug 08, 2008 9:39 am

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();
triggertoo
Junior Member
 
Posts: 22
Joined: Fri Aug 08, 2008 9:33 am