473,396 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

location of asp text vs html text

one of my fist asp pages
i have vbscript rountines that are sending page text with response.write
they are in the asp file before regular html text
yet the html text appears first on the page???
how do you control which text comes where
Jul 19 '05 #1
2 2432
You put the HTML in the page where you want it to appear. e.g.

<h1> HTML </h1>
<%
response.write "response"
%>

Will display:

HTMLresponse

Where ever response.write is used it will wrtie to the screen even if it is
between HTML tags.

e.g. <img src="<%=varToWrite%>">
"bbxrider" <bb*******@comcast.net> wrote in message
news:eK**************@tk2msftngp13.phx.gbl...
one of my fist asp pages
i have vbscript rountines that are sending page text with response.write
they are in the asp file before regular html text
yet the html text appears first on the page???
how do you control which text comes where

Jul 19 '05 #2
thanx what i found out since is what you have said here, i was generating
text at the server and that
seems to always appear at the page end, so i guess any of that text needs to
be saved in a variable
that can be used later in the mix of html and client side response.write

"Andrew Paton" <an**********@nospamplease.nufsaid.net> wrote in message
news:eD*************@TK2MSFTNGP10.phx.gbl...
You put the HTML in the page where you want it to appear. e.g.

<h1> HTML </h1>
<%
response.write "response"
%>

Will display:

HTMLresponse

Where ever response.write is used it will wrtie to the screen even if it is between HTML tags.

e.g. <img src="<%=varToWrite%>">
"bbxrider" <bb*******@comcast.net> wrote in message
news:eK**************@tk2msftngp13.phx.gbl...
one of my fist asp pages
i have vbscript rountines that are sending page text with response.write
they are in the asp file before regular html text
yet the html text appears first on the page???
how do you control which text comes where


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Andrea | last post by:
Hi everyone, I am in the process of learning javascript and have a question on location.href. Does javascript always require the <script language = "javascript"> (or script...
4
by: Max of Mad | last post by:
Hi all, I wrote this a while back, but I was unable to get it to work for mozilla. Looked all over the place, but could not find anything on why. Basically, this has a dropdown of some search...
10
by: K. S. | last post by:
hi guys, this code works fine in IE but doesnot work in opera. the page just reloads to test.html# in opera. can anyone help? thanks. ...
8
by: Phil Powell | last post by:
if (document.location.href.indexOf('?') >= 0) document.location.href = document.location.href.substring(0, document.location.href.indexOf('?')); if (document.location.href.indexOf('#') >= 0) {...
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
3
by: David Hayes | last post by:
I've made tooltips work in Firefox*, but tooltip doesn't appear at the specified location until the SECOND time that the user passes the mouse over the location with the mouseover event. What I...
23
by: lwoods | last post by:
I am trying to pass some info to another page on my site. I set "session_start()" in page 1, assign a session variable to a value, then execute a "header('Location: ....')." But on the target...
4
by: petermichaux | last post by:
Hi, I'm hoping for a reason I'm wrong or an alternate solution... I'd like to be able to dynamically include some javascript files. This is like scriptaculous.js library but their solution is...
6
by: August Karlstrom | last post by:
Hi everyone, I have some problems loading a page into a frame from a different frame. In Firefox and Explorer the lower frame displays "Test..." but in some older version of Safari it is left...
3
by: chandan | last post by:
Hi, Is any way to palce a control(button/label) at a location on webPage in runtime?? In page_load envet I am adding a button on the page in the contol collection of a panel but not able to...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.