|
Hello, I am glad to say that I found the root of the problem. I had a button named submit and this was causing the problem. Thanks so much Matt for pointing out the function definition error. As Christo notes here: (http://www.spiration.co.uk/post/1232/Submit%20is%20not%20a%20function) This means you have a function trying to call the form's submit() method, but you also have a button which is called submit(). This causes a conflict in _javascript_, because the submit method is already bound to that button. To solve the problem, simply change the name of the button so that name="moo" (or something). Your submit() call in your _javascript_ function/method will now work. Sincerely, Yogesh Yogesh Agashe wrote: Thanks for pointing out this error Matt. I should have noticed this. --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [Proto-Scripty] Submit form on select for autosuggest Yogesh
- [Proto-Scripty] Re: Submit form on select for autosugge... Matt Foster
- [Proto-Scripty] Re: Submit form on select for autos... Yogesh Agashe
- [Proto-Scripty] Re: Submit form on select for a... Matt Foster
- [Proto-Scripty] Re: Submit form on select f... Yogesh Agashe
- [Proto-Scripty] Re: Submit form on sel... Yogesh Agashe
- [Proto-Scripty] Re: Submit form on... Matt Foster
- [Proto-Scripty] Re: Submit for... Yogesh Agashe
