View Single Post
  #29 (permalink)  
Old May 9th, 2008, 01:53 PM
gok gok is offline
Registered User
 
Join Date: May 2008
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Did not get this part, Joe.
Did you mean to include DB reader like that:
Code:
<HTML><HEAD><TITLE>dbTest</TITLE>
<script type="text/javascript" language="javascript" src="readDb.asp" runat="server">
    // this part is running on Client side
    function addNames()    { ...

If so, readDb.asp is not readable: Syntax error readDb.asp, line 1
And readDb.asp:
Code:
<%@ LANGUAGE=JavaScript %>
<HTML><HEAD><TITLE>readDB</TITLE></HEAD><BODY>
<% ...
Quote:
quote:Originally posted by joefawcett
 The page you showed should do it although if you are using it as an include you don't need to generate the surrounding script tags, just the JavaScript.

--

Joe (Microsoft MVP - XML)
Reply With Quote