SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Jul 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; Jul 1, 2007 at 00:51.


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
  •