Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Why qt 4.7 webview the web page does not support the JavaScript call form
Forum Updated to NodeBB v4.3 + New Features

Why qt 4.7 webview the web page does not support the JavaScript call form

Scheduled Pinned Locked Moved Qt WebKit
6 Posts 4 Posters 5.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    seadak
    wrote on 18 Dec 2010, 15:43 last edited by
    #1

    Why web page of webview in the qt 4.7 does not support the JavaScript call in form, I have the settings set to webview, JavaScript true

    1 Reply Last reply
    0
    • M Offline
      M Offline
      milot.shala
      wrote on 18 Dec 2010, 17:15 last edited by
      #2

      In one of my projects now I use a file upload web page which is using Ajax for the file upload routines (choosing file, uploading file, displaying file) and it is working pretty well without changing anything. But can you elaborate your problem more?

      1 Reply Last reply
      0
      • I Offline
        I Offline
        Immii
        wrote on 21 Dec 2010, 06:47 last edited by
        #3

        What do you mean by JS call in form? Do you mean to call your JS function from Qt code?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AS.Sri
          wrote on 21 Dec 2010, 12:32 last edited by
          #4

          If you mean evaluating JS on a form then it is possible. Here is the link for the question i had. It is almost similar "Evaluating JS":http://developer.qt.nokia.com/forums/viewthread/2229

          1 Reply Last reply
          0
          • S Offline
            S Offline
            seadak
            wrote on 28 Dec 2010, 01:28 last edited by
            #5

            Thank you for the above, I mean when I use a jsp page <form> tag, I put a <input type=button clicked="callaJS()"> in <form> </ form> ,Like

            <form>
            <input type=button clicked="callaJS()">
            </ form>

            At this time, callaJS () does not perform, but when I put <input type=button clicked="callaJS()"> outside of <form> </ form> , Like

            <form>
            ...
            </ form>
            <input type=button clicked="callaJS()">
            ...

            callaJS () can do; in qt4. 6 do not have this problem, this issue found in 4.7;
            Do you have the same experience?Help me

            1 Reply Last reply
            0
            • M Offline
              M Offline
              milot.shala
              wrote on 28 Dec 2010, 09:01 last edited by
              #6

              [quote author="seadak" date="1293499700"]Thank you for the above, I mean when I use a jsp page <form> tag, I put a <input type=button clicked="callaJS()"> in <form> </ form> ,Like

              <form>
              <input type=button clicked="callaJS()">
              </ form>

              At this time, callaJS () does not perform, but when I put <input type=button clicked="callaJS()"> outside of <form> </ form> , Like

              <form>
              ...
              </ form>
              <input type=button clicked="callaJS()">
              ...

              callaJS () can do; in qt4. 6 do not have this problem, this issue found in 4.7;
              Do you have the same experience?Help me[/quote]

              I think you should file a bug on the "Qt Bug Tracker":http://bugreports.qt.nokia.com/secure/Dashboard.jspa but I am not sure if this could be a Qt 4.7.

              1 Reply Last reply
              0

              1/6

              18 Dec 2010, 15:43

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved