SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    javascript statment problem

    I'm having a problem with this statment, if any body can help me with that i will appriciate it!

    return "<select id='test "+ id +"' onChange='javascript:saveValue("+ id +",this.value)' value='"+ value +"'><br>"<&#37;do until rsProducts.EOF%>"<br>"<%ProductBasicName=rsProducts("ProductBasicName")%>"<br><option><%=ProductBasicName%></option><br>"<%rsProducts.movenext%>"<br>"<%loop%>"</select><br>";

    what i'm trying to do is to get a value from an ASP rs and make a loop with it inside a javascript statment.


    p.s it's all writen in one line.
    Last edited by kronenfeld; Jun 30, 2007 at 23:51.

  2. #2
    SitePoint Wizard silver trophy kyberfabrikken's Avatar
    Join Date
    Jun 2004
    Location
    Copenhagen, Denmark
    Posts
    6,157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think you should ask this question in the .NET forum instead. This forum is for client side javascript - Your question relates to server side Jscript.


Bookmarks

Posting Permissions

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