Thanks Colin, i'm reading the link, if i continue with problems, i'll post here
eulerss On 23 ene, 04:34, ColinFine <colin.f...@pace.com> wrote: > On Jan 22, 11:18 pm, eulerss <eulers...@hotmail.com> wrote:> please help, i > was seeing one example but i have some doubts > > > 1) in the principal file > > > <script src="lib/prototype.js" type="text/javascript"></script> > > <script src="src/scriptaculous.js" type="text/javascript"></script> > > <script src="src/unittest.js" type="text/javascript"></script> > > > its necessary to add the unittest.js?? (sorry i repeated, im noob in > > this) > > No. I've never included it. > > > 2) if i used, for instance response.php in order to get all values, > > whats the correct form? > > i mean, can i used response.php simple like this > > > <?php > > echo "<div> > > <ul> > > <li>A</li> > > <li>B</li> > > <ul> > > </div>"; > > ?> > > Don't send the <div>, just the <ul> [1] > > > > > 3)whats the form when i'm calling the funcion ajax.autocompleter? > > > <script type="text/javascript" language="javascript" > > > new Ajax.Autocompleter('id','id','response.php'); > > No, you need to supply two different elements (or id's) - first the > <input> field, and then the <div> in which it is to put the list. > Please read [1] carefully. > > [1]:http://wiki.github.com/madrobby/scriptaculous/ajax-autocompleter, > section 'Sever return'. > > Colin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---