On 8 Oct 2008, at 15:27, Jay Pangmi wrote:
> > Frederick Cheung wrote: >> On 8 Oct 2008, at 14:46, Jay Pangmi wrote: >> >>>>> then >>>> Your first step has to be to identify which of the above are >>> By the way i checked in the error console after i load the page in >>> firefox by directly passing http://localhost:3000/user/ >>> online_booking >>> there was 'form is not defined' heree is the extracted line as i >> >> Assuming it was "Form is not defined", then it means that the >> prototype javascript library is not being loaded (see >> javascript_include_tag) >> >> Fred > > Do i need to use javascript_include_tag? coz when it was first working If you don't load prototype.js then anything that tries to use it will fail. > > when i didn't have any other page but just that page with combo > boxes i > didn't use it and also when i used it, it made the page loading > terribly > slow but didn't solve the problem. I put <%=javascript_include_tag > :defaults%>. > > Also the error console in firefox gives lots of error like syntax > error, > missing ')', missing '}', etc etc so 'm more confused. > thnx.. Find out why and fix them Fred > > -- > Posted via http://www.ruby-forum.com/. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

