|
|
|
Rank: Member
Groups: Registered
Joined: 4/25/2011 Posts: 24 Location: Houston, TX
|
All auto complete functions break after upgraded to the new version of jquery.jqAutoComplete.min.js. in jqSuite 4.2.
Getting the following error: Object doesn't support this property or method
at this line: if(!(a.options.disabled||a.element.propAttr("readOnly"))){g= false;var f=d.ui.keyCode; .....
If I restore the old version of jquery.jqAutoComplete.min.js, everything seems to work again. Hope someone will look into this.
Richard
|
|
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 10/10/2011 Posts: 588
|
Hello, The problem is related to jQuery 1.6.x+, where they introduced different prop/attr accessors. More details here: http://blog.jquery.com/2.../03/jquery-16-released/
We have updated the javascript file to support 1.6.x+, but you will need to update it. Just download it from our download links here http://trirand.net/downl...eASPNET_MVC_4_3_0_0.zip
locate the autocomplete javascript file inside the package and replace it in your project. You may also need to clear your browser cache. -- Kind Regards, Noel Trirand Support Team
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/25/2011 Posts: 24 Location: Houston, TX
|
Noel, I followed the steps as you instructed: replaced jquery.jqAutoComplete.min.js. Cleared the browser cache.
But I'm still getting the same error.
I'm using jQuesry 1.7.1.
Thanks!
Richard
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/25/2011 Posts: 24 Location: Houston, TX
|
Noel, While we are on the "Auto Complete" subject, please take took at another related issue:
After click the search button on the tool bar and go to the search dialog, if an Auto-Complete field is added as a search criteria, it acts very confusing. For example, if I have a First Name field and there is a name Richard in the list. I type "R", a list containing "R" will show up. I select "Richard" then click "Find" button. It won't search for all records with First Name "Richard", instead, it will search for "R" because the underline data in the text box is still "R". It's very confusing for our customers. Please look into it.
Thanks!
Richard
|
|
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 10/10/2011 Posts: 588
|
Hello, I'd like to apologize if this thread continues without resolving this problem, but we are really having very hard times reproducing this version with the latest (4.3.1) builds of the product. For example if you take a look at our current autocomplete in toolbar example here: http://www.trirand.net/a...d/performancelinqsearch
(the autocomplete field is set for the ShipName column), you will see that the autocomplete control is working without javascript issues and the weird typing problem you have cannot be reproduced here. Our best case is that for some reason you do not have the latest files and the control is acting weirdly since the "prop"/"attr" change jQuery 1.6.x+ introduced. -- Kind Regards, Noel Trirand Support Team
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/25/2011 Posts: 24 Location: Houston, TX
|
Neol, You have mentioned it works with the latest build 4.3.1, but the link you provided to me is version 4.3.0. Could it be the reason?
Thanks!
Richard
|
|
|
|
Rank: Member
Groups: Registered
Joined: 4/25/2011 Posts: 24 Location: Houston, TX
|
Neol, Finally got it figured out. I had a reference to "jquery-ui-1.8.3.custom.js". Upgrading it to version 1.8.17 or simply moving the reference to be after jquery.jqAutoComplete.min.js fixes the problem. I can't explain why but it works. Thanks for your time.
Would you please take look at the other part of the problem?
"After click the search button on the tool bar and go to the search dialog, if an Auto-Complete field is added as a search criteria, it acts very confusing. For example, if I have a First Name field and there is a name Richard in the list. I type "R", a list containing "R" will show up. I select "Richard" then click "Find" button. It won't search for all records with First Name "Richard", instead, it will search for "R" because the underline data in the text box is still "R". It's very confusing for our users. Please look into it."
I have verified that it also happens to your demo pages.
Thanks!
Richard
|
|
|
|
Guest
|
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.121 seconds.