I have a problem with #include statement. I want to include one HTML(.htm) file into another one but it doesn't work.
For example:
<<Main.htm>>
<HTML>
<HEAD>
<TITLE>Main.htm</TITLE>
</HEAD>
<BODY>
<!--#include file="inc.htm" -->
</BODY>
</HTML>
and
<<inc.htm>>
<tr>...
<tr><td>
<% for i = 1 to rs.PageCount %>
<a href="product.asp?subcategid=<%=strSubcategoryID%>&subcategoryName=<%=strSubcategoryName%>&pg=<%=i%>"><%=i%></a>
<%next%></td></tr>
this code works well and displays products and number of pages (underlined links to them). But how can I...
Could someboby help me with the following problem. I have a frame set where all the pages loading in the main frame called "main" and that works fine. All the pages loading using ACTION and TARGET attributes. But there is a particular page that loads not by using 'action' and 'target'...
I have got the following problem. When a user logs in and enters name, and if the login successful, the welcome page is displayed in the main frame. Something like : "Welcome myName!". But also there is another frame at the top of the page (or wherever). So when login is validated, the...
Could somebody help me with the following problem. When I select a particular equipment, the catalogue containing products is dynamically generated. The products belong to that particular equipment. The code for that is :
<%Do while not rsProduct.EOF%>
<TR><TD><IMG...
When I click the button in left frame, I want the page to load in the main frame. How can I write the code for button to specify the target frame.
Sub cmdButton_onClick()
location.href "main.html"
what about target frame??
End sub
When I populate list box with server-side scripts like:
<select size="1" name="selSport">
<% Do While Not rsCategory.EOF%>
<option <%Response.Write(strSelected)%>
value=<% =rsCategory("CategoryID") %>><% =rsCategory ("CategoryName")%>
<%...
Hello!
How could I assign value from a list box in client side script but using server side object Request. The fact is that I need to get value from the List box and insert it in the query string to create recordset.
For example:
<SCRIPT LANGUAGE="VBScript">
Dim intCategoryID...
Hello!
Could somebody help me with this.
When I create recordset and run query :
<% Dim intCategoryID, oNew %>
<SCRIPT LANGUAGE = "VBScript">
Sub listBox_onChange()
<%Set rsSubcategory = connST.Execute ("SELECT SubcategoryName FROM Subcategory WHERE CategoryID = ‘” &...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.