Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2266

JS error showed in console when listening w:onFocus event on textbox

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Invalid
    • Affects Version/s: 7.0.0, 6.5.4
    • Fix Version/s: None
    • Component/s: Components
    • Labels:

      Description

      Reproduce sample:

      <zk xmlns:w="client">
          <script type="text/javascript"><![CDATA[
          function moveCursor(wgt) {
              var inp = wgt.getInputNode(),
                  temp = jq(inp).focus().val();
              jq(inp).val('').val(temp);
          }
          ]]></script>
          <textbox value="test" focus="true" w:onFocus="moveCursor(this)" />
      </zk>
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            vincentjian vincentjian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: