I did a combination of asp and jscript. Parsing a value from asp to
jscript is working fine. However I intend to use the width value on
asp. How is it done?
<script language="JavaScript">
function testing(pix)
{
img = new Image()
img.src = pix
alert(img.width)
}
</script>
<%
Dim m
m = "http://www..com/db/Upload/photos/nature/06331_30.jpg"
%>
<html>
<head>
<title>Hello World</title>
</head>
<body onLoad="testing('<%=m%>')">
<%
response.write "I intend to use the width value over here"
%>
</body>
</html>