Displaying 2 results from an estimated 2 matches for "lstemployees".
Did you mean:
list_employees
2006 Feb 09
3
each()
I have been reading the documentation at:
http://www.sergiopereira.com/articles/prototype.js.html
One of the examples does this:
var someNodeList = $(''lstEmployees'').getElementsByTagName(''option'');
var nodes = $A(someNodeList);
nodes.each(function(node){
alert(node.nodeName + '': '' + node.innerHTML);
});
How can I access the array index as well as the node value? The
reference mentions that the Enumerable.each...
2006 Mar 07
1
Ajax.Responders- how to get responseText?
Hi All. In my site I have situation that I always want to execute some piece of code when AJAX call happen. I am using function onCreate and onComplete from tutorial:http://www.sergiopereira.com/articles/prototype.js.html
but I don''k how to manipulate Ajax responseText in this function. Does anyone know how to do it?
Gregor
----------------------------------------------------
Zagraj o