Results 1 to 2 of 2

Thread: Help with JS flow

  1. #1
    Join Date
    Jun 2012

    Help with JS flow

    I am not the sharpest JS coder in the world and so I need some help.

    I have a classic asp file that I need to debug but I can't get any messages to display. How is the best way to debug if I don't have a project that I can run through the VS2008 debugger?

    Here is the gist of my code:

    if(Request("action") == "clone")
        sSQL = "aksp_Floorplan_InsertCloneOfFloorPlan '" + dspLayoutName + "', " + Request("FloorID") + ", '" + Request("cloneof") + "', " + Request("OLDFloorID")
    <title>Floorplan Manager</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <body style="background-image: none; background-color: White" class="floormgr" bgcolor="#FFFFFF" text="#000000">
    <form name="formFloorPlan" method="POST">
      <input type="hidden" name="action" value="" />
    Why won't the "alert" work? The screen goes blank when it is reached.


  2. #2
    Join Date
    Jul 2008
    urbana, il
    how would you see a popup on the server, you're on the client? there is no alert, that's a browser thing. node.js has console.log, but in asp classic, you're going to have to use Response.write(myStringMessage) and view the source, or
    Response.addHeader("x-debug1", strMyMessage) and use firebug or web inspector look at the headers you made.

    if it's a private page, write() is easier, but on production, headers keep the site going while you twiddle.
    Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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