[Javascript] JavaScript Prompt Box

Peter Brunone peter at brunone.com
Fri Apr 16 11:43:13 CDT 2004


	Yeah, you'd have to use a DIV or something similar, positioned
with CSS if you want to go that route.

	I guess you could use a popup window and position that, but of
course popup blockers will take you down.

-----Original Message-----
From: javascript-bounces at LaTech.edu On Behalf Of mark

Thanks very much. That's the general idea but I want to see if it's
possible to control the behaviour of this prompt, i.e. where it appears
on page, etc. 
Mark.
----------
From: Flavio Gomes <flavio at economisa.com.br>
To: [JavaScript List] <javascript at LaTech.edu>
Subject: Re: [Javascript] JavaScript Prompt Box
Date: 16 April 2004 17:11

Mark,
  Please check the attachment and tell us if is it something like that
that you need.


Ps.: Thank you Chris and Peter for the answears on my previous mail,
what I wanted to do is on the attached example..
---
Flavio Gomes
flavio at economisa.com.br

----- Original Message ----- 
From: "Chris T" <christ at saeweb.com>
To: "[JavaScript List]" <javascript at LaTech.edu>
Sent: Friday, April 16, 2004 12:57 PM
Subject: Re: [Javascript] JavaScript Prompt Box


> If you don't want to go the route of a DIV, you can still use a prompt
box.
> Just make sure when you get your value that you parseInt it to make 
> sure it's numeric. Also, make sure it's not null. I think that's the 
> value returned if a user hits Escape or Cancel.
>
> But you'll use the onClick event to determine the state of the 
> checkbox.
>
> Chris Tifer
>
> ----- Original Message -----
> From: "Roberts, Mark (Tulsa)" <Mark.Roberts at Williams.com>
> To: "[JavaScript List]" <javascript at LaTech.edu>
> Sent: Friday, April 16, 2004 10:51 AM
> Subject: RE: [Javascript] JavaScript Prompt Box
>
>
> Yes. Use the onclick option to trigger the action, then use scripting 
> to display the option box.
>
> something like onclick="show_options_box()"
>
> Put the option box in a DIV statement and hide it. The javascript
function
> can then set the css option on the div tag to visible.
>
> Mark Roberts
> Sr. Systems Analyst
>
>
>
>
> -----Original Message-----
> From: mark [mailto:mark.r.osullivan at aib.ie]
> Sent: Friday, April 16, 2004 8:51 AM
> To: [JavaScript List]
> Subject: Re: [Javascript] JavaScript Prompt Box
>
>
> Thanks for your reply. Here's what I want to do. I want a user to 
> click
on
> a checkbox for a particular option, say user has there options, 
> Windows
NT,
> Windows 2000 or Windows XP operating systems. User selects checkbox 
> next
to
> NT and javascript prompt box appears asking how may NT operating 
> systems are needed. Is this possible? Mark.
> ----------
> > From: Chris T <christ at saeweb.com>
> > To: [JavaScript List] <javascript at LaTech.edu>
> > Subject: Re: [Javascript] JavaScript Prompt Box
> > Date: 16 April 2004 14:29
> >
> > What is it you want to control? There's not much to a prompt box 
> > other
> than
> > grabbing a value from the user.  And you can easily call any 
> > function
on
> the
> > click event of a checkbox.
> >
> > Perhaps with some more information on what you want to accomplish we
can
> > help you get what you need.
> >
> > Chris Tifer
> >
> >
> > > > ----- Original Message -----
> > > > From: "mark" <mark.r.osullivan at aib.ie>
> > > > To: <javascript at LaTech.edu>
> > > > Sent: Friday, April 16, 2004 2:47 AM
> > > > Subject: [Javascript] JavaScript Prompt Box
> > > >
> > > >
> > > > > Hi,
> > > > > Anyone have an idea of how to control the behaviour of a
javascript
> > > prompt
> > > > > box triggered by say a checkbox?
> > > > > Thanks.
> > > > >
> > > > >
> > > > >
> **********************************************************************
> > > > > This document is strictly confidential and is intended for use

> > > > > by  the addressee unless otherwise indicated. Allied Irish 
> > > > > Banks
> > > > >
> **********************************************************************
> > > > >
> > > > > _______________________________________________
> > > > > Javascript mailing list
> > > > > Javascript at LaTech.edu 
> > > > > https://lists.LaTech.edu/mailman/listinfo/javascript
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Javascript mailing list
> > > > Javascript at LaTech.edu 
> > > > https://lists.LaTech.edu/mailman/listinfo/javascript
> > > >
> > >
> > > _______________________________________________
> > > Javascript mailing list
> > > Javascript at LaTech.edu 
> > > https://lists.LaTech.edu/mailman/listinfo/javascript
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu 
> > https://lists.LaTech.edu/mailman/listinfo/javascript
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu 
> https://lists.LaTech.edu/mailman/listinfo/javascript
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu 
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu 
> https://lists.LaTech.edu/mailman/listinfo/javascript
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.656 / Virus Database: 421 - Release Date: 9/4/2004
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript

----------

_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list