Hi,
I need to pass a url to a javascript function.Do i need to enclode the url before sending to the java script function,if so how shall i do it in ASP.
<Script language="javascript">
function process_url(lurl)
{
document.frm.action=lurl;
document.frm.submit();
}
</script>
<%
dim a
url="http://www.google.com"
%>
<input type="button" onclick="process_url('<%=url%>')">
this example shows passing url hotmail.com but actually i need to pass urls stored in the database.