the "document" object is only available on the client-side ("browser"-side)
you still need to use the Response object to write on the page..
example..

------[ CODE ] ---------------------------------------------------
<%@ Language=_javascript_ %>
<%

for (var i=1; i<=10; i++) {
  Response.Write( i + '<br>');
}

%>
------[ /CODE ] --------------------------------------------------

On Wed, 27 Oct 2004 19:22:47 -0700 (PDT), Ankur Gupta
<[EMAIL PROTECTED]> wrote:
>
> I have tried this....and just ran a simple for loop ,inside the <% %> tags
> and tried to print the counter.,using document.write
> but it shows error  UNKNOWN OBJECT :document
>
>
> 
>
>
> Raymond <[EMAIL PROTECTED]> wrote:
> yes it's possible..
>
> you can use the script tag
> <SCRIPT RUNAT="Server" Language="_javascript_">
>
> //.. YOUR CODE HERE
>
> </script>
>
> or put this in top of you asp page.
>
> <%@ Language=_javascript_ %>
>
>
>
> On Tue, 26 Oct 2004 18:50:43 -0700 (PDT), Ankur Gupta
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi !
> >
> > I jus wanna know, is it possible to use _javascript_ as a server side
> > scripting language in ASP .? ie can we use _javascript_ instead of vbscript
> in
> > asp ?
> >
> > 
> >
> > Regds
> >
> > Ankur
> >
> > ________________________________
> > Do you Yahoo!?
> > Yahoo! Mail Address AutoComplete - You start. We finish.
> >
> > To unsubscribe, send an email to:
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > Yahoo! Groups Sponsor
> >
> > ADVERTISEMENT
> >
> >
> > ________________________________
> > Yahoo! Groups Links
> >
> > To visit your group on the web, go to:
> > http://groups.yahoo.com/group/PlanetSourceCode/
> >  
> > To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >  
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >
>
>
> To unsubscribe, send an email to:
> [EMAIL PROTECTED]
>
>
>
>
>
>
>
>
> ________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
>
> To unsubscribe, send an email to:
> [EMAIL PROTECTED]
>
>
>
>
>
> Yahoo! Groups Sponsor
> 
>
> Get unlimited calls to
>
> U.S./Canada
>
> ________________________________
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/PlanetSourceCode/
>  
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>  
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>


To unsubscribe, send an email to:
[EMAIL PROTECTED]




Yahoo! Groups Sponsor

Get unlimited calls to

U.S./Canada

Web Bug from http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/&time=1098948249868472
Web Bug from http://us.adserver.yahoo.com/l?M=281955.5530326.6602771.3001176/D=groups/S=:HM/A=2343726/rand=821324078


Yahoo! Groups Links

Reply via email to