Loading error

Hi.
I have a problems loading the data into grid. Appreciate if somebody could help me out.
The error is
Message: ‘this.entBox’ is null or not an object
Line: 21
Char: 127
Code: 0

This is my 2 files.

main.asp

<%@ Language=VBScript%>

-----------------------------------------------------------------------------------------------------------

get.asp

<%@ LANGUAGE = VBScript %>

<%
’ set content type and xml tag
Response.ContentType = “text/xml”
Response.write("<?xml version=""1.0"" encoding=""UTF-8""?>")

  ' Execute the query
	set rst1 = Server.CreateObject("ADODB.Recordset")
	rst1.ActiveConnection = MM_CONN_STRING
	rst1.Source = "SELECT * FROM table1"
	rst1.CursorType = 0
	rst1.CursorLocation = 2
	rst1.Open()

  ' output data in XML format  
  while not rst1.EOF
      Response.write("<row id='" & rst1(0) & "'>")
          Response.write("<cell>")
              Response.write(rst1(1))  ' value for product name
          Response.write("</cell>")
          Response.write("<cell>")
              Response.write(rst1(2))  ' value for internal code
          Response.write("</cell>")
          Response.write("<cell>")
              Response.write(rst1(3))    ' value for price
          Response.write("</cell>")
      Response.write("</row>")
      rst1.MoveNext
  Wend
  Response.write("</rows>")
  rst1.Close
  Set rst1 = Nothing

%>

You are attempting to load grid, while related container is not rendered on the page, to fix issue you need to move init js code to the onload event

[code]

[/code]

tq, its working now