Two Childs

Hello,
I'm developing a form that uses a dialog box to input some special data, but i need another dialog, it's possible to have two different "dialog Boxes" (class=child), in one html form?
[210 byte] By [Lion4ever] at [2007-11-19 19:38:05]
# 1 Re: Two Childs
I'm developing a form that uses a dialog box to input some special data, but i need another dialog, it's possible to have two different "dialog Boxes" (class=child), in one html form?
I guess I am a little confused. Two dialog boxes in a form? There are no dialog boxes in a form, simply input tags are your input possibilities in forms. Are you using JavaScript's prompt command to get information and then planting that in a form?

Are you just trying to make the web browser have multiple windows inside that are like frames except movable?
PeejAvery at 2007-11-8 0:22:41 >
# 2 Re: Two Childs
I'm using JavaScript to get information, and "feeds" an dropdown in the frame child (*1).
But i need another frame child, to get another type of information, so i thought thas was possible to have two or more frames child, but the javascript code(*2) that hides/show the child frame, doesn't refeer to any child in particular, just enable or disable the childs, so with this code is not possible for me to control two frames, possible i'm doing something wrong, or i'me understading something wrong.

PS: I really don't no much about html, neither javascript.

(*1) I've refered dialog box, but what they defined with <DIV ID="X" CLASS="child>, so it's like frames.

(*2)
<SCRIPT LANGUAGE="JavaScript" ID="code">
<!--
function swapDisplay() {
// Make sure a child element exists
var child = event.srcElement.getAttribute("child");
if (null!=child) {
var el = document.all[child]
if (null!=el)
el.style.display = ""==el.style.display ? "block" : ""
}
}
Lion4ever at 2007-11-8 0:23:39 >
# 3 Re: Two Childs
Is this ( http://www.scriptasylum.com/misc/popup/popup.html) what you seek?
PeejAvery at 2007-11-8 0:24:45 >
# 4 Re: Two Childs
Is this ( http://www.scriptasylum.com/misc/popup/popup.html) what you seek?
I think so, tks.
Lion4ever at 2007-11-8 0:25:39 >
# 5 Re: Two Childs
I think so, tks.
You're welcome.
PeejAvery at 2007-11-8 0:26:46 >