473,378 Members | 1,413 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,378 software developers and data experts.

How To Target DIV's?

Hi All,

Does anyone know how to target a <DIV...>. I want to put an HTML form
in a DIV. When it's submitted, the results should show up within that
same DIV. Possible?

Thanks.
Jul 20 '05 #1
8 32169
rn****@cudbytech.net (Robert Nurse) wrote:
Hi All,

Does anyone know how to target a <DIV...>. I want to put an HTML form
in a DIV. When it's submitted, the results should show up within that
same DIV. Possible?


You mean, to treat a DIV like a frame? You can't, unless you're using
proprietary IE-only programming using an HTTPRequest object that sends
the form data behind the scenes and then uses DOM to rewrite the
contents of the DIV. If you want to do that, an IE-related form would
be a better place to ask details.

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 20 '05 #2
Robert Nurse wrote:
I want to put an HTML form in a DIV. When it's submitted, the
results should show up within that same DIV. Possible?


Perhaps. You might try <iframe>, but note that support is not as good
as it could be. Anyways, <iframe> bring up their own set of problems,
so you may want to recreate the whole page in a server side script,
replacing the <div><form>etc.</form></div> with <div>data submitted by
form</div>.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #3
Harlan Messinger <hm*******************@comcast.net> wrote in message news:<j6********************************@4ax.com>. ..
rn****@cudbytech.net (Robert Nurse) wrote:
Hi All,

Does anyone know how to target a <DIV...>. I want to put an HTML form
in a DIV. When it's submitted, the results should show up within that
same DIV. Possible?


You mean, to treat a DIV like a frame? You can't, unless you're using
proprietary IE-only programming using an HTTPRequest object that sends
the form data behind the scenes and then uses DOM to rewrite the
contents of the DIV. If you want to do that, an IE-related form would
be a better place to ask details.


This application is for internal use only and IE is the official
browser. So, this will work for me. Could you direct me to some
online documentation on how to program this up? The only place I've
seen the HTTPRequest object is in Java servlets. "... behind the
scenes" sounds like VBScript. I've also been recently immersed into
VBScript.
Jul 20 '05 #4
On 16 Jul 2004 07:12:46 -0700, Robert Nurse <rn****@cudbytech.net> wrote:
This application is for internal use only and IE is the official
browser.


So, you posted to a www authoring group on an intranet situation, and
didn't think to mention that?

self {bang: head; object: wall;}
Jul 20 '05 #5
Robert Nurse wrote:

This application is for internal use only and IE is the official
browser.


In other words, your question is off-topic for this group, which is
about authoring for the *www*, not for an IE only intranet. You might
have mentioned this upfront, and gotten more useful answers.

(I still think recreating the page with the form submission replacing
the form markup is the best option.)

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #6
Neal wrote:
self {bang: head; object: wall;}


That's clearly structure of ActionML 0.666, not presentation. You should
be using
<action><type>bang</type><object>head</object><object>wall</object></action>.
:-)
Jul 20 '05 #7
On Sat, 17 Jul 2004 01:34:45 -0400, Leif K-Brooks <eu*****@ecritters.biz>
wrote:
Neal wrote:
> self {bang: head; object: wall;}


That's clearly structure of ActionML 0.666, not presentation. You should
be using
<action><type>bang</type><object>head</object><object>wall</object></action>.
:-)

Well, I put it in CSS as it really wasn't necessary, it was kinda obvious
from the text alone what was going on... Totally presentational expression
of the text.
Jul 20 '05 #8
Did you hapen to find a answer to your problem??? if so email me
May 31 '06 #9

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

Similar topics

1
by: Federico Bari | last post by:
Hi all, does somebody know how to target the answer of a form to an iframe (in ie expecially)???? I use iframe as temporary object to redirect the content do a layer built with a <div...> tag;...
3
by: Jennifer | last post by:
I have a page with three divs (top, left and center). I want to place hyperlinks in the left column (div), where each link calls a separate page. I want each separate page to open in the center...
2
by: RWD | last post by:
I am trying to figure out how to change the target frame in my hyperlink on a DHTML menu. The menu is in one frame and the target frame is called "main" The code is below: Thanks in advance...
2
by: Casper Feldmann | last post by:
Hello, I am trying to access a certain id, but I don't know exactly how. In my HTML I have the following. .... <div id="abc123"> <input type="button" id="xyz789" /> </div> ....
2
by: PieOPah | last post by:
I have a webpage that uses frames (yes I know, frames - previously been flamed about that, but I do not know anything else to use since I am clueless!!! Been asked to cobble together a site since...
10
by: Nik | last post by:
Hello! Thanks for reading my question first! I have many divs with an numeral id ,for example <div id="999">...</div>, <div id="1000">...</div> and I wish to do something like this, for(...
4
by: linuskamb | last post by:
I have a problem which is a slight twist on discussions I have seen previously here and elsewhere. I have a form with an input select combo box whose target is an internal static iframe. The form...
92
by: Erwin Moller | last post by:
Hi group, I encoutered page validation error, but I don't know a way around. The page has the following doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
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
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 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.