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



  • 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



  • 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?



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



  • 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



  • 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 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.