Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: SV: Re: SV: Re: SV: Generaing a text box


Message #1 by "Robert Nyman" <robert.nyman@c...> on Thu, 19 Sep 2002 11:18:41 +0200
I'm sorry, I can't help you...
Maybe your implementation was wrong, or something...


/Robert


-----Ursprungligt meddelande-----
Fr=E5n: Hovik Melkomian [mailto:melvik@b...]
Skickat: den 19 september 2002 06:27
Till: javascript
=C4mne: [javascript] Re: SV: Re: SV: Generaing a text box


But I think IM using the latest IE 6.0
Hovik.
----- Original Message -----
From: "Robert Nyman" <robert.nyman@c...>
To: "javascript" <javascript@p...>
Sent: Wednesday, September 18, 2002 3:41 PM
Subject: [javascript] SV: Re: SV: Generaing a text box


Well, I have no idea why...
Might depend on your browser and version?


/Robert



-----Ursprungligt meddelande-----
Fr=E5n: Hovik Melkomian [mailto:melvik@b...]
Skickat: den 18 september 2002 13:04
Till: javascript
=C4mne: [javascript] Re: SV: Generaing a text box


Dear Robert ur idea was great but I couldnt run it :(

Hovik.
----- Original Message -----
From: "Robert Nyman" <robert.nyman@c...>
To: "javascript" <javascript@p...>
Sent: Wednesday, September 18, 2002 3:23 PM
Subject: [javascript] SV: Generaing a text box


Well, you can do as Hovik says, by placing it in a layer and then
showing & hiding it...


/Robert

-----Ursprungligt meddelande-----
Fr=E5n: Elindram, Maheedhar [mailto:Maheedhar_Elindram@s...]
Skickat: den 18 september 2002 12:44
Till: javascript
=C4mne: [javascript] Generaing a text box


Tnx a lot
can u suggest what we can do for lower versions of Netscape.

Regards,
Maheedhar

> -----Original Message-----
> From: Robert Nyman [SMTP:robert.nyman@c...]
> Sent: Wednesday, September 18, 2002 3:36 PM
> To: javascript
> Subject: [javascript] SV: Re: Generaing a text box
>
> It depends on what browser/browsers you're targeting,
> but for IE 5 and up and Netscape 6 & 7:
>
> <input type=3D"button" value=3D"Create textbox" 
onClick=3D"createTextBox()">
>
> function createTextBox(){
> var oTextBox =3D document.createElement("input");
> oTextBox.setAttribute("type", "text"); oTextBox.setAttribute("value",
> "Some text in the text box"); document.body.appendChild(oTextBox);  //

> This, of course,
depends on
> where you want it to appear...
> // It can, for example, also be
> document.getElementById("someDiv").appendChild(oTextBox);;
> }
>
>
> /Robert
>
>
> -----Ursprungligt meddelande-----
> Fr=E5n: Elindram, Maheedhar [mailto:Maheedhar_Elindram@s...]
> Skickat: den 18 september 2002 11:50
> Till: javascript
> =C4mne: [javascript] Re: Generaing a text box
>
>
> thanks Hovik for ur response.
>
> I want to generate a new text box in my page,
>    and that should be on click of a button.
>
> More clearly, on clicking a button, a textfield should be generated.
>
> Can you help plz....
>
> Maheedhar
>
> > -----Original Message-----
> > From: Hovik Melkomian [SMTP:melvik@b...]
> > Sent: Wednesday, September 18, 2002 2:46 PM
> > To: javascript
> > Subject: [javascript] Re: Generaing a text box
> >
> > I didnt get ur Question but if u wanna read the value of textbox &
> > do dothing its code is:
> >
> > FormsName.TextBoxName.Value
> > I dont know what u wanna do?!
> >
> > HIH,
> > Hovik
> > ----- Original Message -----
> > From: "Elindram, Maheedhar" <Maheedhar_Elindram@s...>
> > To: "javascript" <javascript@p...>
> > Sent: Wednesday, September 18, 2002 1:34 PM
> > Subject: [javascript] Generaing a text box
> >
> >
> > hi,
> > How do i generate a text box oncliking a button within the form. Can

> > anyone help me out in this. thanks in advance
> >
> > Maheedhar
> >
> >
> >
> > ---
> >
> > Improve your web design skills with these new books from Glasshaus.
> >
> > Usable Web Menus
> >
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
> > me
> > r-20
> > Constructing Accessible Web Sites
> >
> 
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
> me
> > r-20
> > Practical JavaScript for the Usable Web
> >
> 
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
> me
> > r-20
> > ---
> > Change your mail options at http://p2p.wrox.com/manager.asp or to
> > unsubscribe send a blank email to 
> >
> >
> >
> >
> > ---
> >
> > Improve your web design skills with these new books from Glasshaus.
> >
> > Usable Web Menus
> >
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
> > me
> > r-20
> > Constructing Accessible Web Sites
> >
> 
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogram
> me
> > r-20
> > Practical JavaScript for the Usable Web
> >
> 
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
> me
> > r-20
> > ---
> > Change your mail options at http://p2p.wrox.com/manager.asp or to
> > unsubscribe send a blank email to 
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> 
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
> me
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
> r-20
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to 
>
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> 
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogram
> me
> r-20
> Constructing Accessible Web Sites
>
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
> r-20
> Practical JavaScript for the Usable Web
>
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
> r-20
> ---
> Change your mail options at http://p2p.wrox.com/manager.asp or to
> unsubscribe send a blank email to 


---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 



---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 




---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 



---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to 






---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/theprogramm
e
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/theprogramm
e
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogramm
e
r-20


  Return to Index