473,406 Members | 2,439 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

prompt() into textbox

How do you get a javascript prompt() box to put whatever you enter
into the prompt box into a text box. So for example you would be
typing in a textbox and you would want to add a word in bold, so you
click the a button, a prompt box appears and then you enter the word
you want in bold and then click ok and it adds it into the box where
the cursor is within the box with the tags <b> </b> ...

Many Thanks in advance,

Jacob
Jul 19 '05 #1
3 2771
Jacob wrote:
How do you get a javascript prompt() box to put whatever you enter
into the prompt box into a text box. ...


news:comp.lang.javascript is over there ---->

--
William Tasso - http://WilliamTasso.com
Jul 19 '05 #2
William Tasso wrote on 24 okt 2003 in
microsoft.public.inetserver.asp.general:
news:comp.lang.javascript is over there ---->

--
William Tasso - http://WilliamTasso.com


Could not find it there,
William Tasso [dot] com (There's only one ...)

gASPingly yours,

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #3
Evertjan. wrote:
William Tasso wrote on 24 okt 2003 in
microsoft.public.inetserver.asp.general:
news:comp.lang.javascript is over there ---->

--
William Tasso - http://WilliamTasso.com

Could not find it there,
William Tasso [dot] com (There's only one ...)


LOL: no, not here. there ---->
gASPingly yours,


grasping at straws?

--
William Tasso
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jacob | last post by:
How do you get a javascript prompt() box to put whatever you enter into the prompt box into a text box. So for example you would be typing in a textbox and you would want to add a word in bold, so...
2
by: Hans | last post by:
Hi! I have an asp application where I use a lot of javascript for validations etc and as it is today I use alert, confirm and prompt dialogs. Now we are adding support for unicode and I have...
1
by: Yurez | last post by:
Wanting to try a little project of making my own little shell/dos prompt sort of thing. However not sure best method to make the prompt over on the left and to keep it from being overwritting by the...
3
by: J.P. Cummins | last post by:
In my ASP.NET application, I wish to have a page for administrators to edit items in a list. Preferably, I would like to use the javascript prompt for the 'rename' function, and a javascript alert...
2
by: Luis | last post by:
Hello, I want to start an application writen in VB.net by a commmand prompt. This application will put on a textbox one string (string1) and in another textbox another string (string2). The...
5
by: GRB | last post by:
I'm using VB.Net 2003 to build a web page. I need to prompt the client for a name in order to save a list. I used the following code to btnSaveList.Attributes.Add("onclick", "var listname =...
4
by: Robert_5032 | last post by:
Trough code I put focus on a textbox. My problem is that the existing letters in that text box get selected (black background) so when users type in new letters, the existing text is replaced....
1
by: Aere | last post by:
Hello, I'm coding a program that saves information about my patients, so i created a rich textbox for every field. (Name, Tel, etc). The program saves a .txt for each field, no matter if there is...
5
by: kimiraikkonen | last post by:
Hello, I have a textbox named "textbox1" and a button named "button1" How can i retrieve the console (cmd) data into textbox? For example when i run Shell("cmd.exe /k dir...
1
by: Rob Nicholson | last post by:
I've managed to write an ASP.NET v2 web page where the prompt to save the password doesn't appear :-( Not sure why it's not working. Autocomplete on the text boxes is working but when you enter...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.