Hi all,
I've come across a strange issue recently. I'm trying to call a server-side method from a Javascript function, and I've found that when I use either a Callback Execute or a ScriptEvent trigger the function won't fire, and the Javascript function will go into an infinite loop from which it'll eventually fall over.
My code at the moment is:
Code: C#
function checkEnter() {
if (event.keyCode == "13") {
eo_GetObject("ScriptEvent1").trigger("whatever", "anything");
}
}
Using a Callback Execute does the same thing. Is there anything which might be causing this? Thanks in advance.