Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question I've got to translate asp in javascript, help me out please

    Hi, I don't really now anything about javascript and I have to translate the asp-script down here into it because our server doesn't accept asp due to security settings, could anyone help me out?

    the searchform:
    Code:
     
    <head>
    <title>ZoekForm</title>
    </head>
    
    <body>
    
    <FORM NAME="zoekformulier" ACTION="redirecten.asp" METHOD="POST">
    <p>zoek: <INPUT TYPE="text" NAME="zoekstring"></p>
    <INPUT TYPE="submit" NAME="cmdZoek" VALUE="zoek">
    </FORM>
    </body>
    </html>

    the redirecten.asp script:
    Code:
    <%  
    dim strURL, strvariabele
    strvariabele = request.form("zoekstring")
    strURL="http://10.20.130.7/search.aspx?k=" & strvariabele
    response.redirect "strURL" %>
    thx in advance
    Last edited by erasmus666; 04-13-2005 at 11:55 AM.

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    answered your question here: http://www.webdeveloper.com/forum/sh...ad.php?t=62513

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

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