The html code isn't stored anywhere as such, it just sits as a document on a server. I'm starting to get the feeling I've asked the impossible here, so I might have to try other options!
Just realised I'm being dense... I know perfectly well what textarea tags are, as I'm using them on the update page. The problem is that I have no way of populating the <%=TextHere%> from the html document.
That won't work, if I understand correctly, as the reports are html and not asp, so the <%=TextHere%> won't have any effect. Or am I missing the point?
Shaddow: I have an html document and I want to both update the text in that via a different (asp) web page, as well as updating a database with some of that information. However some of the sections of text are too large to fit in a database, so they sit in the html ONLY.
mwolf00: What would...
Is there any way of copying a portion of text from an html page and including it as a variable?
I have a set of reports in html which I am using a web page to add to and update. When updating, I need to take text from two areas of the html page for the relevant report and insert it into two...
This should be fairly simple: I want to write variables sumbitted via a form to a template, which is then saved as a different name. I can get the basic principle to work, but I want to include a template file as the variable 'htm' rather than write the whole thing out as it's a large(ish)...
No, sure, it's useful to point out potential pitfalls to other users! I was just quite pleased with myself that I'd managed to find a potential alternative (in some cases) after being told that it was a lost cause, wherever I looked on the net, especially as I've only been doing this for about...
One way around the variables issue (I think) would be to have an intermediate page to carry out the initial ASP initialisations, then use response.redirect to open the actual mainpage.asp, and have the variables in the querystring, eg:
Page1: Submit a form
Page2: Process the data and use...
Thanks for the compliments! I've submitted it for the FAQs now, and modified my comments slightly to reflect your comments that it isn't technically an include, onpnt. Have fun with it!
After thinking it was impossible to include .asp pages dynamically, I've managed to crack a way of doing it, which although technically not an 'include' method, uses the Server.Execute function to get round the problem as follows:
On the main page you wish to view, use the function...
After thinking it was impossible to include .asp pages dynamically, I've managed to crack a way of doing it (this may be well known, but I thought it was good anyway!)
On the main page you wish to view, use the function
Server.Execute "Folder/"&Variable&".asp"
This will...
Well, if you read the other question, it says 'I also posted this in the JS forum'. Now let's see, if we add that one together with this one, that makes a grand total of 2. As it crosses over both areas, I didn't think it was entirely unreasonable. Do you?
I've also posted this in the JS area, but someone here might have a suggestion as well!...
Is it possible to have a page submit to itself (submit an asp variable) without refreshing it?
I've got a treeview down the left side of a page, which browses down various levels until it hits a list of...
Is it possible to have a page submit to itself (submit an asp variable) without refreshing it?
I've got a treeview down the left side of a page, which browses down various levels until it hits a list of documents. When the user expands the last level to display the documents, I want to also...
I have a javascript popup, on which I want to include tabs to switch between sheets (but only halfway down the page, the top should stay the same throughout), as you do on Excel. I assume there's some JS somewhere that will do this?
Hi,
I'm trying to set up a treeview function which is populated via a database. I've got a script for the treeview, and I can sort of populate it with values from the database, but it's nowhere near right!
The section which needs the work done (as far as I can tell) is below, and the problem...
Been there, tried that I'm afraid! Even though the JS is above the asp in the code, it doesn't open the window until it has finished uploading the document and opened the confirmation window... at which point it is a bit pointless having it! I think this one might be a bit more complicated than...
OK, I've done very little JS, and I've only just started asp as well, so this is all a little new to me...
I've got the function to open the popup (on page 1, carried out as an 'onclick' function)
The asp is on the next page, which currently has no JS
And I'm not sure how to get the popup to...
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.