how to put an asp request into java

Discussion in 'JavaScript' started by JJnacy, Jan 15, 2008.

  1. #1
    ' aa is info from a table

    <%
    aa="123"
    %>

    <script language="javascript">
    {
    document.write(aa);
    }
    </script>


    how to write?

    thanks
     
    JJnacy, Jan 15, 2008 IP
  2. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try this;

    <%
    aa="123"
    %>

    <script language="javascript">
    {
    document.write("<%=aa%>");
    }
    </script>
     
    webexpert, Jan 15, 2008 IP
    JJnacy likes this.
  3. JJnacy

    JJnacy Peon

    Messages:
    448
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    very thank you

    good rep for you
     
    JJnacy, Jan 15, 2008 IP
  4. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    no problem... ;)
     
    webexpert, Jan 15, 2008 IP
  5. webexpert

    webexpert Banned

    Messages:
    188
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    oh thank you so much.. i saw you give me good rep that is really valuable for me.. so nice of you :)

     
    webexpert, Jan 21, 2008 IP