Javascript array to asp variable stored in DB

Results 1 to 2 of 2

Thread: Javascript array to asp variable stored in DB

  1. #1
    Join Date
    Dec 1969

    Default Javascript array to asp variable stored in DB

    Hi all!<BR><BR>I do not know why I cannot retrieve any values from the javascript array.<BR><BR>From page.htm:<BR>&#060;script language="JavaScript"&#062;<BR>arNames = new Array( "*" );<BR>arNames[websiteCount] = theForm.WebsiteName.value;<BR>theForm.allNames.val ue = arNames.join(delimiter);<BR>&#060;/script&#062;<BR><BR>&#060;INPUT TYPE="Hidden" Name="allNames"&#062;<BR><BR><BR>From process.asp:<BR>DELIM = "$" & Chr(8) & "$"<BR>myWebsiteName = Split(Request.Form("allNames"), DELIM)<BR>Response.Write(Request.Form("allNames")) &#060;--- this returns nothing<BR>rs("urlName") = myWebsiteName(which)<BR><BR>So if there&#039;s nothign...I cannot store the values in the db...can anyone help?<BR><BR>For better understanding..there&#039;s a website similiar to what I&#039;m working on.<BR><BR><BR>-KAren-

  2. #2
    Join Date
    Dec 1969

    Default Explain your reasons for the JScript

    and what your are trying to achieve.<BR>Where does the data come from originally?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts