Hi,
I have a function in ASP and I want to read a DIV tag. Any ideas? I know
the syntax but when I apply it, doesn't work.
(document.all.message.innerHtml)
Thanks in advance,
Shahid 7 2098
ASP will not be able to read contents of DIV tags.
The sample snippet that you inlcuded in this message is not ASP code. It's
client-side code. Try asking in a client-side group such as a javascript
one. If you're looking to get this value back to the ~server~ in some way,
then post back here indicating that.
Ray at work
"Shahid Juma" <sh*****************@hotmail.com> wrote in message
news:On**************@TK2MSFTNGP14.phx.gbl... Hi,
I have a function in ASP and I want to read a DIV tag. Any ideas? I know the syntax but when I apply it, doesn't work. (document.all.message.innerHtml)
Thanks in advance, Shahid
I know it is client side, and the goal is to get it back to the server....
Shahid
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:uq**************@TK2MSFTNGP12.phx.gbl... ASP will not be able to read contents of DIV tags.
The sample snippet that you inlcuded in this message is not ASP code.
It's client-side code. Try asking in a client-side group such as a javascript one. If you're looking to get this value back to the ~server~ in some
way, then post back here indicating that.
Ray at work
"Shahid Juma" <sh*****************@hotmail.com> wrote in message news:On**************@TK2MSFTNGP14.phx.gbl... Hi,
I have a function in ASP and I want to read a DIV tag. Any ideas? I
know the syntax but when I apply it, doesn't work. (document.all.message.innerHtml)
Thanks in advance, Shahid
In order for it to get back to the server, you'll have to pass it in a
cookie, a form input, or the querystring.
How is it that the page is not/can not already be aware of what the contents
are? Is the user entering some text somewhere that is populating the
innerHTML of the div?
Ray at work
"Shahid Juma" <sh*****************@hotmail.com> wrote in message
news:uk*************@TK2MSFTNGP11.phx.gbl... I know it is client side, and the goal is to get it back to the server....
Shahid
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in message news:uq**************@TK2MSFTNGP12.phx.gbl... ASP will not be able to read contents of DIV tags.
The sample snippet that you inlcuded in this message is not ASP code. It's client-side code. Try asking in a client-side group such as a
javascript one. If you're looking to get this value back to the ~server~ in some way, then post back here indicating that.
Ray at work
"Shahid Juma" <sh*****************@hotmail.com> wrote in message news:On**************@TK2MSFTNGP14.phx.gbl... Hi,
I have a function in ASP and I want to read a DIV tag. Any ideas? I know the syntax but when I apply it, doesn't work. (document.all.message.innerHtml)
Thanks in advance, Shahid
Thanks,
What is the syntax to grab a form input? I know once a form has been
submitted you can use request.querystring or request.post, but without
submitting, is there any way?
Thanks,
Shahid
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:OS*************@TK2MSFTNGP10.phx.gbl... In order for it to get back to the server, you'll have to pass it in a cookie, a form input, or the querystring.
How is it that the page is not/can not already be aware of what the
contents are? Is the user entering some text somewhere that is populating the innerHTML of the div?
Ray at work
"Shahid Juma" <sh*****************@hotmail.com> wrote in message news:uk*************@TK2MSFTNGP11.phx.gbl... I know it is client side, and the goal is to get it back to the
server.... Shahid
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in message news:uq**************@TK2MSFTNGP12.phx.gbl... ASP will not be able to read contents of DIV tags.
The sample snippet that you inlcuded in this message is not ASP code. It's client-side code. Try asking in a client-side group such as a
javascript one. If you're looking to get this value back to the ~server~ in some
way, then post back here indicating that.
Ray at work
"Shahid Juma" <sh*****************@hotmail.com> wrote in message news:On**************@TK2MSFTNGP14.phx.gbl... > Hi, > > I have a function in ASP and I want to read a DIV tag. Any ideas? I know > the syntax but when I apply it, doesn't work. > (document.all.message.innerHtml) > > Thanks in advance, > Shahid > >
Serverside is request.querystring or request.FORM.
Prior to submission would involve client-side scripting, such as
document.formname.inputname, but you may want to confirm in a group that
focuses on client-side scripting.
Ray at work
"Shahid Juma" <sh*****************@hotmail.com> wrote in message
news:uP**************@TK2MSFTNGP11.phx.gbl... Thanks,
What is the syntax to grab a form input? I know once a form has been submitted you can use request.querystring or request.post, but without submitting, is there any way?
if it hasn't been submitted you cant use ASP to get it, its still client
side. This mean use javascript. Something like a
myVar = formName.controlName.value
--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Shahid Juma" <sh*****************@hotmail.com> wrote in message
news:uP**************@TK2MSFTNGP11.phx.gbl... Thanks,
What is the syntax to grab a form input? I know once a form has been submitted you can use request.querystring or request.post, but without submitting, is there any way?
Thanks, Shahid
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in message news:OS*************@TK2MSFTNGP10.phx.gbl... In order for it to get back to the server, you'll have to pass it in a cookie, a form input, or the querystring.
How is it that the page is not/can not already be aware of what the contents are? Is the user entering some text somewhere that is populating the innerHTML of the div?
Ray at work
"Shahid Juma" <sh*****************@hotmail.com> wrote in message news:uk*************@TK2MSFTNGP11.phx.gbl... > I know it is client side, and the goal is to get it back to the server.... > > Shahid > > "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in > message news:uq**************@TK2MSFTNGP12.phx.gbl... > > ASP will not be able to read contents of DIV tags. > > > > The sample snippet that you inlcuded in this message is not ASP code. > It's > > client-side code. Try asking in a client-side group such as a javascript > > one. If you're looking to get this value back to the ~server~ in > > some > way, > > then post back here indicating that. > > > > Ray at work > > > > "Shahid Juma" <sh*****************@hotmail.com> wrote in message > > news:On**************@TK2MSFTNGP14.phx.gbl... > > > Hi, > > > > > > I have a function in ASP and I want to read a DIV tag. Any ideas? > > > I > know > > > the syntax but when I apply it, doesn't work. > > > (document.all.message.innerHtml) > > > > > > Thanks in advance, > > > Shahid > > > > > > > > > > > >
Thank you all for your help....I had to use a combination of javascript and
submitting to the form in order to capture the results from
javascript...Perhaps not the best solution but workable for the moment.
Thanks again..
Shahid
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uT**************@TK2MSFTNGP15.phx.gbl... if it hasn't been submitted you cant use ASP to get it, its still client side. This mean use javascript. Something like a
myVar = formName.controlName.value
-- Curt Christianson Owner/Lead Developer, DF-Software Site: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com
"Shahid Juma" <sh*****************@hotmail.com> wrote in message news:uP**************@TK2MSFTNGP11.phx.gbl... Thanks,
What is the syntax to grab a form input? I know once a form has been submitted you can use request.querystring or request.post, but without submitting, is there any way?
Thanks, Shahid
"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in message news:OS*************@TK2MSFTNGP10.phx.gbl... In order for it to get back to the server, you'll have to pass it in a cookie, a form input, or the querystring.
How is it that the page is not/can not already be aware of what the contents are? Is the user entering some text somewhere that is populating the innerHTML of the div?
Ray at work
"Shahid Juma" <sh*****************@hotmail.com> wrote in message news:uk*************@TK2MSFTNGP11.phx.gbl... > I know it is client side, and the goal is to get it back to the server.... > > Shahid > > "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote
in > message news:uq**************@TK2MSFTNGP12.phx.gbl... > > ASP will not be able to read contents of DIV tags. > > > > The sample snippet that you inlcuded in this message is not ASP
code. > It's > > client-side code. Try asking in a client-side group such as a javascript > > one. If you're looking to get this value back to the ~server~ in > > some > way, > > then post back here indicating that. > > > > Ray at work > > > > "Shahid Juma" <sh*****************@hotmail.com> wrote in message > > news:On**************@TK2MSFTNGP14.phx.gbl... > > > Hi, > > > > > > I have a function in ASP and I want to read a DIV tag. Any ideas? > > > I > know > > > the syntax but when I apply it, doesn't work. > > > (document.all.message.innerHtml) > > > > > > Thanks in advance, > > > Shahid > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Christian Caron |
last post by:
Hi all,
I have a page which contains the following tag:
<head>
<meta name="date_modified" content="20030730" />
</head>
(...)
<script>
(...)
|
by: Anna |
last post by:
Hi all,
I posted the same question this afternoon but my message isn't showing up, so I thought I'd give it another try....
in case you should see it later I apologize for posting the same...
|
by: supster |
last post by:
I have the full file path of a file stored as a string and I'de like
to get the file size in bytes.
What is the most efficient way of doing this with a static method from
the File class or...
|
by: David |
last post by:
I'm using an XPathNodeIterator to select an element in an XML document that
contains text I am going to put in a label on an aspx page. I want to be
able to include HTML tags in the text read from...
|
by: emferrari |
last post by:
Hi all
I have a XML file with the following:
<Step step="1">
<Text><b>Chapter 1</b>
This is a test. Click <b><i>Load</i></b>
</Text>
</Step>
|
by: suridcs |
last post by:
Hi guys,
i want to perform one operation like i am developing a control to compare 2 documents of any format. If i am comparing 2 HTML documents all the HTML tags are appearing in the comparision...
|
by: lizii |
last post by:
i have a file - which on each line has some data i need to fill into a
box - now although reading in the data is simple enough and putting it
in the correct box will be no problem, as i can just...
|
by: dennis.sprengers |
last post by:
Ik ben bezig met een eigen UBB editor. Als iemand aan het typen is,
zorgt CTRL-B voor een \-tag en nogmaals CTRL-B voor een \ tag.
Als je eerst een selectie maakt en dan CTRL-B drukt, wordt de...
|
by: Paul Moore |
last post by:
I'd like to write some scripts to analyze and manipulate my music
files. The files themselves are in MP3 and FLAC format (mostly MP3,
but FLAC where I ripped original CDs and wanted a lossless...
|
by: Clive Green |
last post by:
Hello peeps,
I am using PHP 5.2.2 together with MP3_Id (a PEAR module for reading and
writing MP3 tags). I have been using PHP on the command line (Mac OS X
Unix shell, to be precise), and am...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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,...
|
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |