ASP File Element

E

Erencans

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.
 
R

Roland Hall

in message

: 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
 
E

Evertjan.

Roland Hall wrote on 27 okt 2005 in
microsoft.public.inetserver.asp.general:
in message

: 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.
 
M

MyndPhlyp

Erencans said:
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>.)
 
R

Roland Hall

: Roland Hall wrote on 27 okt 2005 in
: microsoft.public.inetserver.asp.general:
:
: > "Erencans" wrote in message
: > : >
: >: 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
 
R

Roland Hall

in message
: 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
 
R

Roland Hall

(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
 
M

MyndPhlyp

Roland Hall said:
(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.
 
R

Roland Hall

in message :
: : > : > (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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top