I have an asp form that has a text box called "colorBox". Just before
text box is the word "Color" that is hyperlinked and will run the
color.asp if pressed to show all of the colors in a predetermined 3
character code. Ex., BLU for Blue.
Now, what I'd like to do is have the user enter all of the data in the
main asp form, ex. Name, address, etc. When they come to the
"colorBox", they will be allowed to enter "BLU" by hand or click on
the "Color" hyperlink just before the "colorBox" and show the list.
From the list the user will pick one and that color will populate in
the "colorBox".
I don't want to use dropdown boxes, etc. I'm just using color as an
example and I want the user to hit the database since the data changes
from time to time.
Any links to where this is shown on a website would be great. TIA 1 3792
You can do this with client-side javascript.
Use the hyperlink to open a new window that displays the options.
When the user selects an option, use javascript to populate the text-box on
the parent window with the appropriate value and (optionally) close the
popup window.
Cheers
Ken
"ziggs" <zi***@hotmail. com> wrote in message
news:bp******** *************** *********@4ax.c om...
: I have an asp form that has a text box called "colorBox". Just before
: text box is the word "Color" that is hyperlinked and will run the
: color.asp if pressed to show all of the colors in a predetermined 3
: character code. Ex., BLU for Blue.
:
: Now, what I'd like to do is have the user enter all of the data in the
: main asp form, ex. Name, address, etc. When they come to the
: "colorBox", they will be allowed to enter "BLU" by hand or click on
: the "Color" hyperlink just before the "colorBox" and show the list.
: From the list the user will pick one and that color will populate in
: the "colorBox".
:
: I don't want to use dropdown boxes, etc. I'm just using color as an
: example and I want the user to hit the database since the data changes
: from time to time.
:
: Any links to where this is shown on a website would be great. TIA This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: alex |
last post by:
Hi,
I am looking for a way to populate an HTML table from an external
local text file which looks like this:
DATE/TIME LAT. LON. DEPTH. ML.
-------------------- ---------- ---------- ------- -------
21/03/2005-04:06:03 XX,XX XX,XX 171 3,42
21/03/2005-12:23:53 XX,XX XX,XX 500 5,4
21/03/2005-12:43:10 XX,XX XX,XX 553 5,38
|
by: Randell D. |
last post by:
Folks,
I am working on a contact db using PHP and MySQL. My results so far outputs
a slimed down version of records to the browser. I would like to implement
a method whereby the user can click on a text link which will then show the
full record. I don't want to have hyperlinks with values incorporated in
the link (thus, I don't want to have http://www.example.com?abc=1234) - I
prefer to use a POST method thus what I would like to do...
|
by: sullivanz.pku |
last post by:
Hi all
I am using the standard python GUI Tkinter as my program's main
interface. Although I know wxPython has some widget to support rich
text widget, but I do not have time to shift to wx---- series. Does
anyone know any Tkinter based widget that support:
1. Blod, Italic, Underline and their combinations.
2. Several most commonly used fonts, like Times New Roman and Arial
3. Multiline text
4. Cross platform support. Available in...
|
by: vj |
last post by:
How i can populate all fileds dynamically in jsp page based on contents
found in xml file?
I have written jsp servlets and java class file.
i transferred automatic data from jsp to servlet then to java class
which creates a xml file based on values entered in dynamic jsp page.
Now i want to read all those values entered to xml in my other jsp
page.
I am able to call values from file in my jsp page.
But as dynamic values can be any in no...
|
by: vijendra |
last post by:
How i can populate all fileds dynamically in jsp page based on contents
found in xml file?I have written jsp servlets and java class file.
i transferred automatic data from jsp to servlet then to java class
which creates a xml file based on values entered in dynamic jsp page.
Now i want to read all those values entered to xml in my other jsp
page.But as dynamic values can be any in no i don't know how could i
populate all those in my jsp...
| |
by: jm |
last post by:
I have a Gridview with a LinkButton. The button has text from my
database. It is not the datakey of the database, just free form text.
I want to populate another gridview based upon the data in my
linkbutton (which comes from my Eval).
If I do this as a hyperlink with querystring instead of a linkbutton,
everythings works. My ObjectDataSource was modified to look for a
querystring and it works.
If I do the same thing witha...
|
by: whamo |
last post by:
I have the need to populate a field based on the selection in a combo box.
Starting out simple. (2) tables tbl_OSE_Info and tbl_Input;
tbl_OSE_Info has three fields: Key, OSE_Name and OSE_Wt
tbl_Input has three fields: OSE_Job, OSE_Name, OSE_Wt
I have populated tbl_OSE_Info table.
I need to create a form that will store the data in tbl_Input
I have racked my brain so much trying to figure out how to auto populate a field based on a...
|
by: Ronald |
last post by:
I hope somebody can help. I can't get into the specifics of my
project, but I'll try to create a simple example:
tblVehicle
* VIN (text box)
* Make (text box)
* Model (text box)
frmRepair
|
by: John Straumann |
last post by:
Hello all:
I am trying to populate a GridView with data being read from a call to a web
service. I have seen plenty of examples that simply execute a SQL data
reader, set the Grid data source to the reader, and then call DataBind(),
but I cannot seem to figure out how to build the GridView row by row with
anything except text. I need the 2nd column of the Grid to be a hyperlink or
a button, and this is where I am having an issue. I can...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |