10-22-2019, 07:48 AM
(This post was last modified: 10-22-2019, 07:49 AM by Alexandre Machado.)
I'll test it but ajaxCall() doesn't escape the input when it sends a GET request. It is up to the developer to encode it properly.
You might ask "why does it work when I type 06:20 in an input?".
Because in this case, a POST request is generated and the browser does most of the work.
I believe it will work if you use encodeURIComponent() on your parameters. It should be like:
IntraWeb will decode them properly on the other side
You might ask "why does it work when I type 06:20 in an input?".
Because in this case, a POST request is generated and the browser does most of the work.
I believe it will work if you use encodeURIComponent() on your parameters. It should be like:
Code:
<script language="javascript" type="text/javascript">function EditSchedule(d) { ajaxCall("EditSchedule","&1="+encodeURIComponent(d), true); }</script>IntraWeb will decode them properly on the other side

