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

how to add text boxes/select lists dynamically

--------------------------------------------------------------------------------

hi guys i have problem with time sheet.i have 3 shifts.
1.morning (7 am to 4pm)
2.afternoon (2 pm to 11 pm)
3.night (10 pm to 6 am)
these 3 are radio buttons. when i select one radio button ike morning, below the radio buttons it will dispaly two select lists From and To. And the user should submit hourly reports for every hour.
The option values in From select list is 7,8,9,10,11,12,13.14,15,16 likewise)and alternatively in To select list have (7,8,.....so on).
if user select morning shift ,it displays From selct list like 7 and To select list 8.and we provide text box corresponding to select lists for entering description.and i want button right side of text box ,when i click it will automatically add next hour select list From 8 -TO 9 it is also have text box for entering descrption and right side of this have button to add next hour select list .these select lists are added dunamically with one hour time differenece.Please any one help to do this
Aug 31 '07 #1
1 1383
dmjpro
2,476 2GB
--------------------------------------------------------------------------------

hi guys i have problem with time sheet.i have 3 shifts.
1.morning (7 am to 4pm)
2.afternoon (2 pm to 11 pm)
3.night (10 pm to 6 am)
these 3 are radio buttons. when i select one radio button ike morning, below the radio buttons it will dispaly two select lists From and To. And the user should submit hourly reports for every hour.
The option values in From select list is 7,8,9,10,11,12,13.14,15,16 likewise)and alternatively in To select list have (7,8,.....so on).
if user select morning shift ,it displays From selct list like 7 and To select list 8.and we provide text box corresponding to select lists for entering description.and i want button right side of text box ,when i click it will automatically add next hour select list From 8 -TO 9 it is also have text box for entering descrption and right side of this have button to add next hour select list .these select lists are added dunamically with one hour time differenece.Please any one help to do this
Welcome to TSDN.
Show me your code what you did so far.
Then we will able to help you.
We are no here to start the code from beginning.
Anyway, you can add an element dynamically using document.createElement.
Best of Luck with your Code.

Kind regards,
Dmjpro.
Aug 31 '07 #2

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

Similar topics

7
by: juglesh | last post by:
Hello, I would like to be able to have the user sort a list of items similarly to the way you sort your queue on Netflix.com. (the numbers dont change dynamically on netflix, they must be doing...
7
by: Gertjan van Heijst | last post by:
Hi, I really hope someone can help me because I've already spend 2 days on this problem and I'm not getting anywhere. I think the problem is that I don't really understand how text boxes store...
1
by: James | last post by:
I am creating a system whereby equipment is inspected. Data is inputted into an inspection form. However, any equipment that is not satisfactory needs to have spare parts ordered for that piece of...
8
by: Galina | last post by:
Hello I have 6 dependent list boxes on my ASP page:  Faculty;  Lecturer;  Course;  Course occurrence;  Group;  Week commencing date. When faculty is selected, lists of lecturers and...
2
by: taras.di | last post by:
Hi everyone, I've been reading up on how to create a drop down box who's context is dynamically produced based on the value of a previous select box. I've read a lot about some of the browsers...
2
by: Sethos | last post by:
I am sure that this has been covered, hashed, and rehashed, but a search on the group did not produce the answer, so forgive me if this seems like a "newbie" type question... Besically, I have a...
0
by: jimbob91577 | last post by:
I have a Gridview that I am dynamically adding template columns to which contain text boxes in their "Item Data" field. After adding the columns to the gridview in my Page_Load event, the page binds...
1
by: semomaniz | last post by:
I have a form where i have created the form dynamically. First i manually added a panel control to the web page. Then i added another panel dynamically and inside this panel i created tables. I have...
11
by: jwessner | last post by:
I have a form (Form1) which contains basic Project data and a subform listing the personnel assigned to the Project as a continuous form. Selecting a person on that project and clicking on a command...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
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
tracyyun
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...
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.