jQWidgets Forums

This topic contains 5 replies, has 4 voices, and was last updated by  vovo4ka 9 years, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • jqxInput throwing jquery TypeError #53894

    mr_putersmit
    Participant

    Hi

    I am using the latest version of the widgets with jQuery 1.7.2 and am having a problem using jqxInput. What is happening, is when I submit my form, jQuery throws a

    TypeError: val.replace is not a function

    . I have double checked my code and it appears to be fine. I am using jqx-all.js if that makes a difference. Any advice please? Thanks

    <link rel=”stylesheet” href=”/logistor/users/styles/jqx.base.css” type=”text/css” />
    <link rel=”stylesheet” href=”/logistor/users/styles/jqx.arctic.css” type=”text/css” />

    <script type="text/javascript">
                
                $(function () {
                    
                    var url = "inputRtv.php";
                    // prepare the data
                    var source =
                    {
                        datatype: "json",
                        datafields: [
                            { name: 'custref' },
                            { name: 'custref' }
                        ],
                        url: url
                    };
                    var dataAdapter = new $.jqx.dataAdapter(source);
                    // Create a jqxInput
                    $("#box_rtv").jqxInput({ source: dataAdapter, placeHolder: "Select your box:", displayMember: "custref", valueMember: "custref", width: 200, height: 25});
                    
                });
            
    </script>
    jqxInput throwing jquery TypeError #53895

    Peter Stoev
    Keymaster

    Hi mr_putersmit,

    Please, provide a complete sample which reproduces your scenario and can run locally. The provided information is not sufficient.

    Best Regards,
    Peter Stoev

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


    mr_putersmit
    Participant

    I shall try Peter. I shall try to setup a fiddle. Many thanks

    jqxInput throwing jquery TypeError #54477

    iyanark
    Participant

    Hi

    When am trying to search “(” or “)” symbol in Jqxinput control,

    It throws the below Error. Apart from that all the Symbols are supporting for search auto complete.

    Unhandled exception at line 7, column 9610 in http://localhost/WebUI/jqwidgets/jqxinput.js

    0x800a139c – JavaScript runtime error: Expected ‘)’ in regular expression

    Any fix for this please

    Thanks in Advance
    Iyanar K

    jqxInput throwing jquery TypeError #54490

    Peter Stoev
    Keymaster

    Hi Iyanar,

    That’s true, we do not escape the ‘(‘ and ‘)’ in this version. We will implement that as soon as possible.

    Best Regards,
    Peter Stoev

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

    jqxInput throwing jquery TypeError #78078

    vovo4ka
    Participant

    jqxInput().val() returning an object {value: …, label: …} but not a value of the input element… I guess this confuses jQuery.serializeArray or serialize methods (they want a string)

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

You must be logged in to reply to this topic.