473,396 Members | 1,860 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.

ASP File Element

Hi All,
How can i find an asp file's TAG like input, button from another asp file...
For example i call a.asp from internet explorer and i want to list b.asp 's
elements.(input, button, etc...)

Thanks alot.
Oct 27 '05 #1
9 1392
"Erencans" wrote in message
news:CD**********************************@microsof t.com...

: How can i find an asp file's TAG like input, button from another asp
file...
: For example i call a.asp from internet explorer and i want to list b.asp
's
: elements.(input, button, etc...)

Use HTTPRequest in a.asp and then you'll have the source code of b.asp in a
variable and you can then do anything you want with it.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Oct 27 '05 #2
Roland Hall wrote on 27 okt 2005 in
microsoft.public.inetserver.asp.general:
"Erencans" wrote in message
news:CD**********************************@microsof t.com...

: How can i find an asp file's TAG like input, button from another asp
file...
: For example i call a.asp from internet explorer and i want to list
: b.asp
's
: elements.(input, button, etc...)

Use HTTPRequest in a.asp and then you'll have the source code of b.asp
in a variable and you can then do anything you want with it.


Well, not the source code, but the rendered html output.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Oct 27 '05 #3
Thanks for this info. In addition can i parse the variable's tag?

"Roland Hall" wrote:
"Erencans" wrote in message
news:CD**********************************@microsof t.com...

: How can i find an asp file's TAG like input, button from another asp
file...
: For example i call a.asp from internet explorer and i want to list b.asp
's
: elements.(input, button, etc...)

Use HTTPRequest in a.asp and then you'll have the source code of b.asp in a
variable and you can then do anything you want with it.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp

Oct 27 '05 #4

"Erencans" <Er******@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
Hi All,
How can i find an asp file's TAG like input, button from another asp file... For example i call a.asp from internet explorer and i want to list b.asp 's elements.(input, button, etc...)

Thanks alot.


Request.Form("x")

where "x" is the name= attribute of the <input> or <button> or other form
field. (BTW - there is limited browser support for <button>.)
Oct 27 '05 #5
"Evertjan." <ex**************@interxnl.net> wrote in message
news:Xn********************@194.109.133.242...
: Roland Hall wrote on 27 okt 2005 in
: microsoft.public.inetserver.asp.general:
:
: > "Erencans" wrote in message
: > news:CD**********************************@microsof t.com...
: >
: >: How can i find an asp file's TAG like input, button from another asp
: > file...
: >: For example i call a.asp from internet explorer and i want to list
: >: b.asp
: > 's
: >: elements.(input, button, etc...)
: >
: > Use HTTPRequest in a.asp and then you'll have the source code of b.asp
: > in a variable and you can then do anything you want with it.
: >
:
: Well, not the source code, but the rendered html output.

Ah, yes, the HTML source is what I meant. Guess I screwed that pooch with
my explanation.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Oct 27 '05 #6
"Erencans" wrote in message
news:EC**********************************@microsof t.com...
: Thanks for this info. In addition can i parse the variable's tag?

It's helpful to follow along with the discussion when you post after
responses, instead of before them. This is not email.

You can parse the tags any number of ways, regular expressions, DOM, etc.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Oct 27 '05 #7
"MyndPhlyp" <no****@homeright.now> wrote in message
news:Oy*************@TK2MSFTNGP15.phx.gbl...
(BTW - there is limited browser support for <button>.)

There's limited browser support for type=button or are you referring to
something else?

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Oct 27 '05 #8

"Roland Hall" <nobody@nowhere> wrote in message
news:u1**************@TK2MSFTNGP12.phx.gbl...
"MyndPhlyp" <no****@homeright.now> wrote in message
news:Oy*************@TK2MSFTNGP15.phx.gbl...
(BTW - there is limited browser support for <button>.)

There's limited browser support for type=button or are you referring to
something else?


I refer specifically to the limited browser support of the <button> HTML
tag, which is why my comment represents it as a tag and not "quoted text."
The browser support is, dare I say it, universal for the <input type=button>
HTML tag.
Oct 27 '05 #9
"MyndPhlyp" wrote in message news:Oq**************@tk2msftngp13.phx.gbl...
:
: "Roland Hall" <nobody@nowhere> wrote in message
: news:u1**************@TK2MSFTNGP12.phx.gbl...
: > "MyndPhlyp" <no****@homeright.now> wrote in message
: > news:Oy*************@TK2MSFTNGP15.phx.gbl...
: > (BTW - there is limited browser support for <button>.)
: >
: > There's limited browser support for type=button or are you referring to
: > something else?
:
: I refer specifically to the limited browser support of the <button> HTML
: tag, which is why my comment represents it as a tag and not "quoted text."
: The browser support is, dare I say it, universal for the <input
type=button>
: HTML tag.

My misunderstanding. Thanks for clarifying.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Oct 28 '05 #10

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

Similar topics

1
by: Lana | last post by:
Hello all! I need to add another element to an XML file along with its content, but encountered a problem. I tried with the code provided, but it happens so that i can't run the program from my...
5
by: Gregg | last post by:
Hello all, I have been banging my head over a problem that I am having reading a comma seperated file (CSV) that can contain from 1 to 10,000 records. My code snipit is as follows: **Start...
3
by: David Elliott | last post by:
I wrote an application to scrape a database and create an XSD file which will be annotated by a map file in order to create a Typed DataSet. I was wondering if I could do the annotation using...
2
by: mark | last post by:
How do I detect that a particular form element is a file upload or if the file upload has worked? In the Python cgi module documentation I found suggested code... form = cgi.FieldStorage()...
3
by: ciaran.mchale | last post by:
Hi folks, I downloaded the binary version of Xerces C++ 2.7.0 for Windows and am using it to help me get up to speed with XML and XML Schema. So please excuse me if this is a "novice" question....
3
by: forest demon | last post by:
for example, let's say I do something like, System.Diagnostics.Process.Start("notepad.exe","sample.txt"); if the user does a SaveAs (in notepad), how can i capture the path that the user...
0
by: rautsmita | last post by:
hello friends , i am using to jdk6 and JAXB2.0, i have geomtry.xsd file i am trying to compile this file using jaxb but i got some error i.e.The particle of the type is not a valid restriction of...
1
jwwicks
by: jwwicks | last post by:
Hello All, This is a student assignment. So I don't want the complete answer just a hint or maybe a bumb on the head cause I'm doing it the wrong way. Assume I haven't done anything braindead like...
1
by: Sebarry | last post by:
Hi, I'm using the following code from the-stickman.com to create a file upload list in Javascript. I want to modify it so that the file element is only added if the user has provided a description...
14
by: jeddiki | last post by:
Hi, I am looking at a download from clickbank and I notice that it has two files, a very small on suffixed with .dtd which I list below, and a huge file 26 Mb suffixed with .xml ( not sure if...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.