Never mind. I figured it out. My javascript code was within a PHP block and so the $ was getting interpreted as the beginning of a variable. :(
On Jun 11, 11:38 am, jhicks <jeremy.hi...@gmail.com> wrote: > I'm trying to do something I've done many time before, but I'm getting > different results. > > I have a very simple call to $F('MyField') within a function where the > html is > > <input type="text" id="MyField" size="3" maxlength="3" /> > > I'm doing an alert within the function call: > > alert($F('MyField'); > > which instead of giving me the value of the field is giving me the id > of the field "MyField". > > Anybody ever seen this or have any clue what's going on? > > Using 1.6.0.3 with latest scriptaculous also included on the page > doing an Ajax.Autocompleter on another field (which is working). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---