View Full Version : two message Box in prompt
09-23-2005, 02:57 PM
Is there anyway i can have a java script one prompt but it will have two message box and two messages. SOmething like asking the user to put userid and password in one prompt instead of two.
09-23-2005, 04:01 PM
Any one have any idea!
09-23-2005, 04:02 PM
09-23-2005, 04:19 PM
thanks for the reply. this is not for user id or pass. I want to insert two DB field from one prompt or any other JS function if available. So I assume JS don't allow me to have two textfields. I wanted to clarify that.
09-23-2005, 04:31 PM
09-23-2005, 04:38 PM
I will be inputing from the prompt to the DB.
Here is the scenerio.
I am checking from a grade selection field if user enters 'WU'; I am asking them to put students last date of attendance and a comment as a prompt. I wanted to display them in one prompt.
09-23-2005, 04:59 PM
Well, if you would like to pop up a window that would input those two fields into the database, you could make a new html page with a form that submits to whatever you're using to access the DB that has those two input fields. Check out the link below on how to create this window. It shows you how to set it up, communicate to it, etc. This may be what you're looking for.
09-23-2005, 05:10 PM
thanks a lot. I might use the pop ups with two times. That might be little easier. Thanks anyway.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.