Hi all. After using progress for about 2 years, i've just found a weird stuff.
I'm currently using OE 10.1B on Linux platform. I'm using htm page for main interface, while for process I'm using .p. So for each transaction, I have to pass variable form my htm page to my .p for further process. Usually I'm using javascript such as:
the problem is when I try to pass text like 'ABC+DEF' to my other page (either .p or .htm), I will only get 'ABC DEF' instead of 'ABC+DEF'. The character '+' is replaced with ' ' (white space). But if I'm using submit button, everything went OK.
Is there anyone knows anyhow I can pass this '+' using javascript?
Thanks b4
Regards
YoChan
I'm currently using OE 10.1B on Linux platform. I'm using htm page for main interface, while for process I'm using .p. So for each transaction, I have to pass variable form my htm page to my .p for further process. Usually I'm using javascript such as:
Code:
<script language="javascript">
function doPost(){
var vDescript = document.frmInput.txtDescript.value; // getting description from textfield 'txtDescript'
window.open("`HostURL``AppURL`/test_p.p" +
"?inputDescript=" + escape(vDescript), "_self");
}
</script>
the problem is when I try to pass text like 'ABC+DEF' to my other page (either .p or .htm), I will only get 'ABC DEF' instead of 'ABC+DEF'. The character '+' is replaced with ' ' (white space). But if I'm using submit button, everything went OK.
Is there anyone knows anyhow I can pass this '+' using javascript?
Thanks b4
Regards
YoChan