I'm trying to open a new tab in the current webbrowser and post some data in the same time.
I've found a lot of solution on the web and the Jquery code seems to work for all webbrowsers (Chrome, Firefox,...) except Internet Explorer.
Here is my Javascript function (with Jquery) that I use :
function openInNewTab(url, data) {
var form = $('<form></form>');
form.attr("method", "post");
form.attr("action", url);
form.attr("target", "_blank");
var field = $('<input></input>');
field.attr("type", "hidden");
field.attr("name", "paramXml");
field.attr("value", data);
form.append(field);
$(document.body).append(form);
form.submit();
}
Do you see if something goes wrong ? In Internet Explorer, the tab is correctly opened bu when I see the HTTP request, I don't see the POST data in the request.
My version of IS is 11.0.96.
Thanks in advance for your help.