I am experiencing sort of similar issue.
I am trying to add a custom form to my x-cart store which will load in jquery ui dialog widget when someone clicks a button. But I can't get any responce out of this no matter what I do.
I just can't believe that something as simple as this is buggin me for three days straight now.
I am using the most simple scenario I can think of:
Code:
<button id="opener">Click me for alert</button>
Simple jQuery code snippets:
Code:
$(function () {
$(document).on("click", '#opener', function (e) {
alert("BOOM!!?");
});
});
or
Code:
$('#clickMe').click(function () {
alert("BOOM!!?");
});
Works fine in jsfiddle, static html page, asp.net page, but x-cart is not having any of it.
Some help is greatly appreciated.
(X-Cart v4.5.4)