Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 08:21 PM
Robert Nurse
Guest
 
Posts: n/a
Default 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.
  #2  
Old July 20th, 2005, 08:21 PM
Harlan Messinger
Guest
 
Posts: n/a
Default Re: How To Target DIV's?

rnurse@cudbytech.net (Robert Nurse) wrote:
[color=blue]
>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?[/color]

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.
  #3  
Old July 20th, 2005, 08:21 PM
Brian
Guest
 
Posts: n/a
Default Re: How To Target DIV's?

Robert Nurse wrote:
[color=blue]
> I want to put an HTML form in a DIV. When it's submitted, the
> results should show up within that same DIV. Possible?[/color]

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/
  #4  
Old July 20th, 2005, 08:21 PM
Robert Nurse
Guest
 
Posts: n/a
Default Re: How To Target DIV's?

Harlan Messinger <hmessinger.removethis@comcast.net> wrote in message news:<j6mdf0hdpvusp1gur8apf7c5i37hfrprb6@4ax.com>. ..[color=blue]
> rnurse@cudbytech.net (Robert Nurse) wrote:
>[color=green]
> >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?[/color]
>
> 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.[/color]

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.
  #5  
Old July 20th, 2005, 08:21 PM
Neal
Guest
 
Posts: n/a
Default Re: How To Target DIV's?

On 16 Jul 2004 07:12:46 -0700, Robert Nurse <rnurse@cudbytech.net> wrote:
[color=blue]
> This application is for internal use only and IE is the official
> browser.[/color]

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

self {bang: head; object: wall;}
  #6  
Old July 20th, 2005, 08:21 PM
Brian
Guest
 
Posts: n/a
Default Re: How To Target DIV's?

Robert Nurse wrote:[color=blue]
>
> This application is for internal use only and IE is the official
> browser.[/color]

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/
  #7  
Old July 20th, 2005, 08:22 PM
Leif K-Brooks
Guest
 
Posts: n/a
Default Re: How To Target DIV's?

Neal wrote:[color=blue]
> self {bang: head; object: wall;}[/color]

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>.
:-)
  #8  
Old July 20th, 2005, 08:22 PM
Neal
Guest
 
Posts: n/a
Default Re: How To Target DIV's?

On Sat, 17 Jul 2004 01:34:45 -0400, Leif K-Brooks <eurleif@ecritters.biz>
wrote:
[color=blue]
> Neal wrote:[color=green]
> > self {bang: head; object: wall;}[/color]
>
> 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>.
> :-)[/color]


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.
  #9  
Old May 31st, 2006, 05:51 PM
Newbie
 
Join Date: May 2006
Posts: 1
Default Im having the same problem

Did you hapen to find a answer to your problem??? if so email me
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles