"Aaron Bertrand [MVP]" wrote in message
news:em******** ******@TK2MSFTN GP11.phx.gbl...
: > Thanks for including that (no pun intended). (O:= I knew I read
: > somewhere,
: > but couldn't locate it, that if the include has client script, it still
: > may
: > not be resolved even though the onload event fired.
:
: It would be the client-side script that may not be resolved, not an ASP
: function you call from other segments of ASP code.
Would that be true even if the ASP included code was client script?
Ex. I have files that are nothing more than client-side javascript code but
need to be wrapped in ASP because I'm mixing values from the server-side,
linking that to a common ASP file that is included in numerous files.
document.shoppi ngform.action=' <%=cartPath%>ch eckout.asp';
Which is linked with:
<script type="text/javascript" src="somejsfile .asp"></script>
....into a file that is included in all others.
This is then included into other files with:
<!--#include virtual="/somepath/somefile.asp"-->
Granted I'm not experiencing the issue the OP is but is this a possibility
for that issue?
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library -
http://msdn.microsoft.com/library/default.asp