The output is this
<script>
var SN = John;
function myFunction()
{
alert("Dear "+SN+",\n...");
}
</script>
<script>myFunction();</script>
So if you put a single quote around the value assigned to the value SN...
var SN = '<%=sesname%>';
...you should be all set.
Hi
In the past I have used imagemagick
https://www.imagemagick.org/script/index.php
The other solution would be use javascript to get the image dimensions and send them to server via AJAX post. I wrote code for it in this question here:
http://www.tek-tips.com/viewthread.cfm?qid=1777440
Ed
Hello - this might be a bit of a late comment but I thought you might be interested in a possible workaround.
1. Load image into DIV with javascript
2. Measure image using javascript
3. Send dimensions to ASP page to save values to database
<html>
<head>
<script>
function GetXmlHttpObject() {...
I struggled for years to get office automation to work properly in an IIS/ASP environment and all my research said basically don't try it as it is not reliable/scalable. So hats off to you that you got it to work at all!
Just my tuppence worth - two possible alternatives:
1. Generate the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.