Hello Tony
The partial render is still not working in IE (working in FF).
OK
Your code seems be totally correct, I just checked with my books
I have a suggestion
Code:
$(document).ready(function () {
$("#showTaskButton").bind('click', function(){
alert('clicked');
});
$("#showTaskButton").trigger('click');
}
The code above now change it for a new simple HTML element in your jsp page ( a simple input text) nothing related with AjaxEventDecoration or with Spring, just a simple HTML element,
something like
Code:
$(document).ready(function () {
$("#showTaskButtonAltern").bind('click', function(){
alert('clicked');
});
$("#showTaskButtonAltern").trigger('click');
}
You could get the follow cases:
1) not work, then try it with Opera and Google Chrome, if work the blame is for the IE, then I suggest you post this in jQuery forums, could be a bug, or need special extra configuration to work with IE
2) if work, then the problem is that jQuery cant work sadly with
Code:
Spring.addDecoration(new Spring.AjaxEventDecoration({
elementId: "showTaskButton",
formId: "formID",
event: "onclick",
params: {fragments: "body"}
}));
</script>
Now I did realize the follow, really about the code shown above, what html element represent?
Let me know your advance