jQWidgets Forums
jQuery UI Widgets › Forums › Editors › Input, Password Input, TextArea, ColorPicker, Rating, TagCloud, Loader › jqxInput throwing jquery TypeError
Tagged: javascript Input tag
This topic contains 5 replies, has 4 voices, and was last updated by vovo4ka 9 years, 6 months ago.
-
Author
-
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>
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 StoevjQWidgets Team
http://www.jqwidgets.com/I shall try Peter. I shall try to setup a fiddle. Many thanks
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 KHi Iyanar,
That’s true, we do not escape the ‘(‘ and ‘)’ in this version. We will implement that as soon as possible.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/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)
-
AuthorPosts
You must be logged in to reply to this topic.