Writeln Img Src To Submit Data To External System - Firefox And Ie Hanging
I have been scouring the depths of the web to find a solution to a problem I'm having. I'm relatively new to Javascript so forgive me. Upon clicking the next button on my checkout
Solution 1:
I think the behavior caused by the way how do you want to write an HTML element into a page. For your propose I think I got a better way:
So the first change is to add an img emelent that is not visible:
<imgsrc=""id="hiddenImg"width="1"height="1"border="0"alt=""style="visibility:hidden"><!-- You can also use display:none; -->
The second one is to change your Javascript:
functionAddContact()
{
... lines skipped ...
var targetUrlStr = "";
if (document.getElementById('idINVOICEPRIVACY').checked == false)
{
targetUrlStr = 'https://app.bronto.com/public/<url cut here>';
} elseif (document.getElementById('idINVOICEPRIVACY').checked == true) {
targetUrlStr = 'https://app.bronto.com/public/<url cut here>';
}
document.getElementById("hiddenImg").src = targetUrlStr;
returntrue;
}
Hope it will help.
Post a Comment for "Writeln Img Src To Submit Data To External System - Firefox And Ie Hanging"