2012/04/29 17:52:55 | (127.0.0.1) {h1 annexe} {div id:code; white-space:pre; border:1px solid; padding:5px; background:#ffe; //°° var fact = function ( n ) { return (n >0)? n * fact(n-1) : 1; } $('output').innerHTML = fact( $('A').value ); //°°} {p Factorial( {input code:code; id:A; value:input; width:100; }) = {span id:output; output} }