Displaying 3 results from an estimated 3 matches for "pluxemburg".
Did you mean:
luxemburg
2006 Feb 02
3
dynamic addition of table rows
Hi, I have a table laid out something like this:
<table>
<thead>
<tr>
<th>col 1</th>
<th>col 2</th>
</tr>
</thead>
<tbody id="tablebody">
<tr>
<td>moo</td>
<td>moo</td>
</tr>
<tr>
<td>moo</td>
<td>moo</td>
</tr>
2005 Dec 02
0
Prototype Hash#map & #each
...index) {
return escape(element)
}).each(function(element, index)) {
document.write(index + " => " + element + "<br />");
}
</script>
Is Prototype able to to this in a more elegant way?
TIA
Martin
* * * * * * * * * * * * * * * * *
www.burnfield.com
www.pluxemburg.com
www.harald.net
2006 Feb 14
7
onFailure fails?
Hi all,
I have this code:
new Ajax.Request(''non_existant.file'', {
onSuccess:function(){alert("yay");},
onFailure:function(){alert("boo");}
});
Why does the onFailure alert never get called? It works fine if I use
a real file (onSuccess gets called).
Thanks,
Douglas