effel: klick auf ein control

Ie11: Ein Div ist mit contenteditable=true editierbar gemacht und mit einem onClick versehen.
Wird auf ein control, z.b. ein Bild geklickt, wird das control mit kleinen Quadraten
gekennzeichnet, aber onClick reagiert nicht.(Erst bei Doppelklick). Wird in Text geklickt, wird onClick aktiv.
Frage: Gibt es ein Event, das beim (einfachen)Klick auf ein control (Bild) anspringt.

Würde mich freuen, wenn ich Hilfe erhielte

--
effel
  1. Hi,

    Frage: Gibt es ein Event, das beim (einfachen)Klick auf ein control (Bild) anspringt.

    probier mal contenteditable=false bei den Bildern.

    Viele Grüße aus LA

    --
    ralphi
    1. herr> Hi,

      Frage: Gibt es ein Event, das beim (einfachen)Klick auf ein control (Bild) anspringt.

      probier mal contenteditable=false bei den Bildern.

      Viele Grüße aus LA

      Danke, aber soll ja alles im Div editierbar sein.

      --
      keine
      1. herr> herr> Hi,

        Frage: Gibt es ein Event, das beim (einfachen)Klick auf ein control (Bild) anspringt.

        probier mal contenteditable=false bei den Bildern.

        Viele Grüße aus LA

        Danke, aber soll ja alles im Div editierbar sein.

        6.2.2015:
        gefunden oncontrolselect
        Eexapmle(Dottoro)
        <head>
            <script type="text/javascript">
                function Init () {
                        // the 'multipleSelection' command throws an exception in Opera
                    try {
                            // enables multiple selection in Internet Explorer
                        document.execCommand("multipleSelection", false, true);
                    }
                    catch (e) {};
                }

        function OnBeforeControlSelected () {
                alert("QQ");
                    var controlRange = document.selection.createRange ();
                    if (controlRange.length >= 2) {
                        alert ("At most two buttons can be selected!");
                        return false;   // cancels the default action
                    }
                    return true;
                }
            </script>
        </head>
        <body >
            Try to select all buttons in the field below.<br />
            You can select a button by clicking on it.<br />
            Hold down the CTRL or SHIFT key for multiple selection.
            <br /><br />
            <div contenteditable="true" style="background-color:#a0e0e0;" oncontrolselect="return OnBeforeControlSelected ()"> //genau that is this !!! aber geht nicht ??
                <button>First button</button><br />
                <button>Second button</button><br />
                <button>Third button</button>
            </div>
        </body>
        Aber es funktionier übehaupt nicht
        Auch andere Examples funktionieren nicht
        Registry-eintrag??
        keine