jQWidgets Forums

jQuery UI Widgets Forums Editors Input, Password Input, TextArea, ColorPicker, Rating, TagCloud, Loader jqxPasswordInput – IE8 – This command is not supported

This topic contains 9 replies, has 3 voices, and was last updated by  Peter Stoev 11 years, 4 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author

  • SamR
    Participant

    Hi all!
    I found this bug in my project and I discovered the same issue in the jqwidgets.com demo:

    url: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxpasswordinput/jquery-password-input-getting-started.htm

    error: This command is not supported. jquery-1.10.1.min.js, line 5 character 7022

    Please help!
    Thanks


    Peter Stoev
    Keymaster

    Hi SamR,

    Could you provide a sample which demonstrates that behavior?
    Do you use jQWidgets 3.0.4?
    Have you tried to use jQuery 1.10.2 instead of 1.10.1 as the error points to a code in jQuery.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    SamR
    Participant

    Hi Peter,
    in my project I use jquery-1.10.2 but http://www.jqwidgets.com uses 1.10.1. Would you mind test the problem using your website? The issue is exactly the same.

    I confirm that in my project I use jQWidgets 3.0.4. I’m using IE 8 on Windows XP for compatibility test

    Please let me know
    Thanks


    Peter Stoev
    Keymaster

    Hi SamR,

    The demo page – http://www.jqwidgets.com/jquery-widgets-demo/ uses 1.10.2. The documentation page is currently with 1.10.1. However, I am asking about your scenario, because we cannot reproduce the described issue with the provided information. There is no “this command is not supported” error on our side. In case you wish from us to test your scenario, then please provide a sample which we can test locally.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    SamR
    Participant

    Hi Peter,
    here is a simple example that causes the same problem. If you put a breakpoint on $(“#txtPassword”) you obtain an alert at the time IE8 executes it. The alert says:

    Message from webpage
    Error: this command is not supported

    Thanks
    Sam

    
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
    
        <title></title>
        <link rel="stylesheet" href="/_jqwidgets-ver3.0.4/jqwidgets/styles/jqx.base.css" type="text/css" />
        <link app="" rel="stylesheet" href="/_jqwidgets-ver3.0.4/jqwidgets/styles/jqx.metro.css" type="text/css" />
    
        <script type="text/javascript" src="/Scripts/jquery-1.10.2.js"></script>
        <script type="text/javascript" src="/_jqwidgets-ver3.0.4/jqwidgets/jqxcore.js"></script>
        <script type="text/javascript" src="/_jqwidgets-ver3.0.4/jqwidgets/jqxtooltip.js"></script>
        <script type="text/javascript" src="/_jqwidgets-ver3.0.4/jqwidgets/jqxpasswordinput.js"></script>
        
        <script>
            $(document).ready(function () {
                //this statement causes the error
                $("#txtPassword").jqxPasswordInput({ showStrength: true, showStrengthPosition: "bottom" });
            });
        </script>
    </head>
    <body>
        
        <input id="txtPassword" type="password"  /> 
    </body>
    </html>
    

    Peter Stoev
    Keymaster

    Hi Sam,

    I tried that code with IE7, IE8, IE9, IE10 and IE11. No error on my side.

    The below is my test:

    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
    
        <title></title>
        <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" />
        <link rel="stylesheet" href="../../jqwidgets/styles/jqx.metro.css" type="text/css" />
    
       <script type="text/javascript" src="../../scripts/jquery-1.10.2.min.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxtooltip.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxpasswordinput.js"></script>
        
        <script>
            $(document).ready(function () {
                //this statement causes the error
                $("#txtPassword").jqxPasswordInput({ showStrength: true, showStrengthPosition: "bottom" });
            });
        </script>
    </head>
    <body>
        
        <input id="txtPassword" type="password"  /> 
    </body>
    </html>

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    SamR
    Participant

    Hi Peter,
    thanks for the check. Please have a look at this screenshot: http://i.imgbox.com/abv9ePka.png

    It is possible it is related to IE8 version?

    I use Microsoft Hyper-V for my virtual Windows XP 32 bit. I’m prototyping for a big project in my company that requires ie8 compatibility. We want to use jqwidgets for frontend solution. That’s why I’d like to know what’s going wrong with my setup.

    Please let me know if you need other information
    Thanks
    Sam


    Peter Stoev
    Keymaster

    Hi Sam,

    As I wrote, we cannot reproduce that on our test machine and unfortunately I do not think that we can provide more information about that.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/


    Marc
    Participant

    Peter,

    I am seeing this error as well (when viewing the jqWidgets password demo page on Windows XP, IE8).

    As it happens, I just used the jqxPassword input for the first time today and got an error in Chrome. As discussed on the linked jQuery Migrate plugin site (see below), prior to jQuery 1.9, jQuery threw an error for attempts to change the type of an input field because it didn’t work on IE6/IE7/IE8. I am currently using jQuery 1.7.2, so I am seeing the error in Chrome. Obviously, I could get it working in Chrome by updating to jQuery 1.9+, but unfortunately I am still required to support IE8.

    See https://github.com/jquery/jquery-migrate/blob/master/warnings.md#jqmigrate-cant-change-the-type-of-an-input-or-button-in-ie-678.


    Peter Stoev
    Keymaster

    Hi Marc,

    jQuery 1.9+ supports IE6+ and the versoon of jQuery does not matter. I would suggest you to check the jQuery’s website and see which version to use. We are also aware that the “type” cannot be changed in IE7 and IE8 dynamically and the error that is raised is not related to jQuery or the jQuery’s version. That is the default Browser behavior.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.