Strange behavior on form submission

ersatzname's Avatar

ersatzname

30 Apr, 2009 10:26 PM

HI, Thanks for the help on my problem yesterday. Now I've pushed the envelope. In the following script, neither of the alerts get executed, yet the form is submitted. I think it is poltergeisten.

    <script type="text/javascript">
        $$('.Picture').addEvent("click", function()
            {
                alert("Going back to SitePrototype.");
                alert("picture = " + $$('.Picture').src);
                $('imagename').value = $$('.Picture').src;
                $('PictureForm').submit;
            });

    </script>

I attached a copy of the source file.

  1. 1 Posted by Will Duncan on 01 May, 2009 01:59 AM

    Will Duncan's Avatar

    I believe this is meant to be in http://mootools.lighthouseapp.com -- you posted your mootools issue issue in the Lighthouse Support area of a Tender support site.

  2. Will Duncan closed this discussion on 01 May, 2009 01:59 AM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac