Hello. I have some HTML that I would like to pass to a popup webform via a
querystring. I've run into some problems which I believe is because I need
to encode the HTML. The popup webform is being created via JavaScript so I
need to use JavaScript to encode the HTML. The problem is that I'm not sure
if the URLDecode function in .NET is fully compatible with the encoding
function in JavaScript.
I found the following two JavaScript encoding functions:
escape(param)
encodeURI(param)
I'm leaning towards using encodeURI as it is a newer, and probably more
reliable function. Has anyone used the encodeURI function before with
..NET's URLDecode function? Do they work well with each other??
TIA,
Ben