Jump to content

Execute an ASP file from within an HTML file


ehs

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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...