Edit Code in left box and click Show Results button to see the result. | Home
<html> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=scriptaculous_53 by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 09:21:34 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> <head> <title>Simple Ajax Auto-completer Example</title> <script type="text/javascript" src="../javascript/prototype.js"></script> <script type="text/javascript" src="../javascript/scriptaculousaa59.js?load=effects,controls"></script> <script type="text/javascript"> window.onload = function() { new Ajax.InPlaceCollectionEditor( 'theElement', '../script.aculo.us/transform.html', { formId: 'whatever', okText: 'Upper me!', cancelText: 'Never mind', collection: ['one','two','three','four','five'] } ); } </script> </head> <body> <p>Click over the "Click me!" text and then change text and click OK.</p> <p>Try this example with different options.</p> <div id="theElement"> Click me! </div> </body> <!-- Mirrored from www.tutorialspoint.com/cgi-bin/practice.cgi?file=scriptaculous_53 by HTTrack Website Copier/3.x [XR&CO'2010], Thu, 01 Sep 2011 09:21:34 GMT --> <!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8"><!-- /Added by HTTrack --> </html> |