[Javascript] JavaScript Prompt Box

Chris T christ at saeweb.com
Fri Apr 16 11:17:19 CDT 2004


Hit "Cancel" and see what gets put into the box.Make sure your variable isn't null first...


  ----- Original Message ----- 
  From: Flavio Gomes 
  To: [JavaScript List] 
  Sent: Friday, April 16, 2004 12:11 PM
  Subject: Re: [Javascript] JavaScript Prompt Box


  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040416/f67bb62e/attachment.htm>


More information about the Javascript mailing list