Fórum
Detach Event
Alex Curtui, modificado 11 Anos atrás.
Detach Event
Junior Member Postagens: 30 Data de Entrada: 08/11/12 Postagens Recentes
Hello,
Please help me with this problem:
I'm trying to update a liferay-ui:search-container through AJAX and not submitting. Everything works fine until now, when I'm trying to detach the onchange event from the dropdown which displays delta (items on page).
I tried with this code:
but doesn't work, so now I'm trying with
which still fails...
It may be a simple answer, but I struggled for more than 4 hours with no result, so Please help!
Thank you in advance,
Alex C.
Please help me with this problem:
I'm trying to update a liferay-ui:search-container through AJAX and not submitting. Everything works fine until now, when I'm trying to detach the onchange event from the dropdown which displays delta (items on page).
I tried with this code:
A.one("#<portlet:namespace />userInterfacesSearchContainerPageIteratorBottom_itemsPerPage").on("change", function(event){
event.halt();
});
but doesn't work, so now I'm trying with
var node = A.one("#<portlet:namespace />userInterfacesSearchContainerPageIteratorBottom_itemsPerPage");
alert(node.detach());
which still fails...
It may be a simple answer, but I struggled for more than 4 hours with no result, so Please help!
Thank you in advance,
Alex C.