Hi guys,
It looks like I found a bug in the Lemonstand JQuery libraries / implementation and I'd really appreciate it if you'd investigate this for me and see what you can do, as this will cause major issues if it's left as it is:
In the Checkout Billing Information page, Checkout Shipping Information page and Shopping Cart page (when trying to implement the shipping cost estimator), I've tried to implement the country and state drop down box exactly as in the documentation:
http://lemonstandapp..._step_checkout/
http://lemonstandapp...imator_feature/
When I change the country in the <select> menu, the states <select> menu should update accordingly via AJAX, but nothing happens. In the shopping cart I got no error in the javascript console, but equally no AJAX request seems to happen. In the checkout shipping pages when I try to do the same, I got an error message:
"Uncaught TypeError: Object #<HTMLSelectElement> has no method 'getForm'"
I tried using the Lemonstand MooTools library instead of the Lemonstand JQuery library and it magically started working, so it looks like there's something wrong with JQuery. (I embedded each in my pages using the method described on http://lemonstandapp..._and_css_files/) (I also totally disabled all of my own Javascript code before doing this test).
I've a tonne of functionality on my website reliant on JQuery, so using MooTools really isn't an option for me, and as my client is going to ship to multiple countries, with shipping costs to the US varying by State, I really need this functionality working. Any solution will be very gratefully received indeed and it would be seriously appreciated if you could treat this request with priority.
Many thanks,
David.
Page 1 of 1
Report ID #17: AJAX selection of country->state only works with MooTools and not JQuery
Page 1 of 1
Replies (1 - 5)
#2
Eric Muyser
Posted 25 July 2011 - 02:29 PM
Updating status to: Unconfirmed
Hi David,
I assure you that the jQuery interface works properly with country/state switching. More than likely it is old MooTools code. Please see this post: http://forum.lemonst...ndpost__p__8123
Thanks
Hi David,
I assure you that the jQuery interface works properly with country/state switching. More than likely it is old MooTools code. Please see this post: http://forum.lemonst...ndpost__p__8123
Thanks
#4
David Cole
Posted 01 August 2011 - 05:05 AM
Yup - that works now. Thanks for your help - seriously appreciated.
I guess the documentation could use an update.
I guess the documentation could use an update.
Page 1 of 1

Help
Report
