com.gargoylesoftware.htmlunit.ScriptException: TypeError: submit is not a function, it is com.gargoylesoftware.htmlunit.javascript.host.Button. (http://localhost:46201/Alogho-war/adf/jsLibs/Common11-m7.js;jsessionid=67D99710017698C6898F13880975EAE1#4209)

htmlunit | plasmoid | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Button with id='submit' causes bugs

    htmlunit | 1 decade ago | plasmoid
    com.gargoylesoftware.htmlunit.ScriptException: TypeError: submit is not a function, it is com.gargoylesoftware.htmlunit.javascript.host.Button. (http://localhost:46201/Alogho-war/adf/jsLibs/Common11-m7.js;jsessionid=67D99710017698C6898F13880975EAE1#4209)

    Root Cause Analysis

    1. com.gargoylesoftware.htmlunit.ScriptException

      TypeError: submit is not a function, it is com.gargoylesoftware.htmlunit.javascript.host.Button. (http://localhost:46201/Alogho-war/adf/jsLibs/Common11-m7.js;jsessionid=67D99710017698C6898F13880975EAE1#4209)

      at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction()
    2. HtmlUnit
      HtmlPage.runEventHandler
      1. com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.callFunction(JavaScriptEngine.java:319)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.executeJavaScriptFunctionIfPossible(HtmlPage.java:737)
      3. com.gargoylesoftware.htmlunit.html.HtmlPage.runEventHandler(HtmlPage.java:1463)
      3 frames