473,407 Members | 2,315 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,407 software developers and data experts.

change display field to drop down on checking a checkbox

11
i want to change the display field to a drop down when a check box is clicked.
Mar 6 '08 #1
10 2872
hsriat
1,654 Expert 1GB
i want to change the display field to a drop down when a check box is clicked.

Any details please.....
Mar 6 '08 #2
sunsom
11
when the user checks a check box that row a columns display field should change to dropp down. plz help!!!!!!
Mar 8 '08 #3
hsriat
1,654 Expert 1GB
when the user checks a check box that row a columns display field should change to dropp down. plz help!!!!!!
I think you asked this earlier too, but you didn't give any details.
Mar 8 '08 #4
acoder
16,027 Expert Mod 8TB
I think you asked this earlier too, but you didn't give any details.
Threads merged. Please do not double post your questions!
Mar 8 '08 #5
acoder
16,027 Expert Mod 8TB
when the user checks a check box that row a columns display field should change to dropp down. plz help!!!!!!
Post what code you have so far, even if it's just HTML (using [code] tags).
Mar 8 '08 #6
sunsom
11
the code is give below...

[HTML]<ui:checkbox name="check" id="check" onClick="javascript: clicker()"/>
<ui:display-field displayText="Forwarder" name="Forwarder" sortable="flase" />
<ui:dropdown name="Forwarder" id="Forwarder" displayText="Single selection" selectOne="true">
<ui:data select="$root/AA/*" idSrc="ID" displayTextSrc="Forwarder/@Value" selectionSrc="SELECTED/@Value = 'yes'" defaultValue="111" />
</ui:dropdown>
[/HTML]

when check box is clicked in the place of deiplay-field i want the drop down to be activated
Mar 10 '08 #7
acoder
16,027 Expert Mod 8TB
Show the HTML version (view source in browser) of this code.

Do you want to hide the display field and show a drop-down or replace the field with a drop-down?
Mar 10 '08 #8
sunsom
11
the code is from a tool which uses a customized form of jsp custom tags... i just want a hint as to how to write the javascript for this scenario...
Mar 10 '08 #9
sunsom
11
i want to replace the dis[lay filed with the drop down when the checkbox is selected for a particular row....
Mar 11 '08 #10
acoder
16,027 Expert Mod 8TB
the code is from a tool which uses a customized form of jsp custom tags... i just want a hint as to how to write the javascript for this scenario...
A hint would be to hide the display field (set style.display to "none") and show the drop-down (set style.display to "block"). The HTML code would give a better idea of how to access those elements using JavaScript.
Mar 11 '08 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Rey | last post by:
Howdy, all. Appreciate your help. Have a one to many relation between a client and visit table. In the visit subform, I have a visittype and counselor field which are comboboxes. If I set...
3
by: Marc Castrechini | last post by:
I have a page that changes an <ASP:Checkbox value based on a user entered value in a textboxm using client side Javascript. After my submit is fired the value for the chkMyCB.checked does not get...
0
by: uthooker | last post by:
I have an Access form with some combo boxes in the Form Header that are enabled/disabled using conditional formatting based on the setting in a checkbox also in the Header (Combo box = Enabled by...
1
by: Luke Sayaw | last post by:
Hi All, I wonder how do I include a checkbox in a dropdownlist control.? I am working on a particular enhancement for the web application. In the application, the user can do a search based on...
6
by: thanigaimani83 | last post by:
Hi guys. i can explain for my doubt with example.see.my table have multiple type of employee details like as Mangemment,Programmer,Designers,Accountants,ContractEmployees.Each type of department...
8
by: mlwerth | last post by:
Dear Access Group: This is the most basic and most embarrassing of questions, but I cannot find where to change the data type of a text field that I have in Access 2003 to a number field. I've...
2
by: giandeo | last post by:
Hello all, It's almost a couple of weeks since i am struggling to get this code work. Unfortunately, i am stuck. There seems to be no hope... Please Help....... I am working with an asp page...
4
by: Yitzak | last post by:
Have a query that is arregated into crosstab query, it is working correctly. select Yes as selected from tblname or select true as selected from tblname Produces -1 ( vba value of True) in...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
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,...

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.