Jump to content

Execute an ASP file from within an HTML file


Recommended Posts

I have an HTML file with some HTML code within (working as needed).Some where in the middle of that HTML file code, I need to run/execute an ASP file with some simple ASP code within (already created).Then continue with the rest of the HTML code within the original HTML file. The ASP file is "FormOpen.asp" and contains the following: <% FormOpen = Request("FormOpen") %> <% If FormOpen = "" Then %> <div id=xxx-TextBox9-xxx style='display:none;text-decoration:none'> <% Else %> <div id=xxx-TextBox9-xxx style='display:inline;text-decoration:none'> <% End If %> It sounds simple enough, but I just can't get it, kinda writers block. Thanks in Advance for any help,

Link to post
Share on other sites

Not looking to modify the intended function of the ASP file.Just looking for the proper code to insert in my HTML file to tell it to execute the code in the above ASP file.Then continue with the rest of the code in the original HTML file.

Edited by ehs
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...