![]() |
|
|
+ Search |
![]()
|
Apr 6th, 2008 18:49
ha mo, Colin Fraser, Arpan De,
I am not sure this question is in the right forum, or even in the right
page. However, I seem to recall running into a similar problem that had
a simple solution. In the end I created a function that executed the
code I needed to be executed and then made sure the window closed. In
short:
<script>
function myCloser() {
//do whatever
// then
window.close()
}
</script>
<form>
<input type="button" value="close" onClick="myCloser()">
</form>
The script is in the <body> and I am not sure how ASP will execute
inside a script function. It should work. Using ASP is, in and of
itself, limiting, I suggest that you may want to have a look at JSP. A
lot of these problems actually present solutions far more easily in JSP
than ASP
Good luck.
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com