Help with Quotes

Discussion in 'ASP General' started by scott, Jun 7, 2005.

  1. scott

    scott Guest

    Can someone help me my quotes in LISTING 2 below? LISTING 1 works fine in
    HTML, but I'm having trouble with quotes in LISTING 2 near the javascript
    code when trying to response write the entire button code.



    LISTING 1: HTML
    <INPUT TYPE=BUTTON VALUE="<< Previous <%=iMaxRecords%> Records"
    ONCLICK="document.location.href='paging.asp?iPage=<%=iPage-1%>'">


    LISTING 2: ASP
    Response.Write "<INPUT TYPE=BUTTON VALUE=<< Previous" & iMaxRecords &
    "Records ONCLICK="document.location.href=""paging.asp?iPage=" & (iPage -1) &
    """>"
     
    scott, Jun 7, 2005
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ramki
    Replies:
    2
    Views:
    609
    Digitlcoup
    Feb 10, 2004
  2. Chris White

    Quotes/Double Quotes in Image Control

    Chris White, Sep 22, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    5,194
    Hermit Dave
    Sep 22, 2004
  3. Chris
    Replies:
    1
    Views:
    14,198
    Oisin
    Mar 24, 2006
  4. Lawrence Tierney

    Multiline quotes - escaping quotes - et al

    Lawrence Tierney, Dec 24, 2003, in forum: Java
    Replies:
    3
    Views:
    4,760
    Andrew Thompson
    Dec 24, 2003
  5. Jim Simpson

    Help getting stock quotes

    Jim Simpson, May 9, 2004, in forum: HTML
    Replies:
    6
    Views:
    693
    Jim Simpson
    May 10, 2004
  6. jOhn
    Replies:
    1
    Views:
    463
    Phlip
    Jan 29, 2008
  7. Richard Sandoval
    Replies:
    5
    Views:
    395
    7stud --
    Apr 26, 2011
  8. Replies:
    7
    Views:
    405
    Thomas 'PointedEars' Lahn
    May 17, 2005
Loading...