473,499 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

hi banfa ! pls give some idea

60 New Member
Hi
I posted two queries. But i didn't get any replies. Pls go through my queries and try to give some ideas.

Query (1):

How to get the values of dynamically created checkboxes which are checked and unchecked (for both the conditions). Only the selected checkbox values are posted as 'On' . How can i get the value of unchecked checkboxes ?
Each row contains 7 checkboxes. These rows are created dynamically by clicking a button. When the page is posted , i need to get the values as

row1 checkbox1[1] = selected checkbox2[1] = notselected checkbox3[1] = selected
row2 checkbox1[2] = selected checkbox2[2] = notselected checkbox3[2] = selected
row3 checkbox1[3] = selected checkbox2[3] = notselected checkbox3[3] = selected
.....
How i could handle this ?

Query (2)

In my php code , i dynamically created table rows on button click event.
Each row contain 3 selectboxes, 7 checkboxes . On each click of these elements i need to submit the form and save the data to database. After each submit , i need to display the previous added details (with some checkboxes checked and some others unchecked ..) and one new row for next updation.
Here i need to collect all values submitted in the php page.
There i should able to distinguish each row sets values (with their checkboxes status. on or off). Also , i'm unable to submit the form for newly added rows . Though the action is given as '... e1.onchange = test()...' , it is not working.

One more query,
These rows are added using javascript function, but the values are to be fetched from database. How can i handle this ? Or whether i need to write javascript code using php script. i.e
echo '<script language=javascript>....</script>';


Pls post your replies.
Thanks in advance
somaskarthic
Sep 14 '06 #1
0 1072

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

Similar topics

8
4299
by: RomanRusso | last post by:
Hie everybody, Here at this forum I have found something what I was looking for - rotation of cells in html table, here is the link http://www.thescripts.com/forum/threadnav149304-2-10.html The...
3
3349
by: candexis | last post by:
Hi, I will like to know how can implement the rotation operand, I mean if I want shift a bit, the bit shifted (less significant bit) must put on the most significant bit, so this is a rotatioanl...
2
1652
by: anupam | last post by:
SOMEONE PLEASE GIVE SOME FREE LINK OR E-BOOK on MFC ...............
6
1189
Niheel
by: Niheel | last post by:
I would like to honor Banfa with the Top Contributor Award. A little about Banfa: Banfa, or those of you who know him by his real name (Ben) has been a member of the community for a long...
14
1727
by: euniceno1 | last post by:
the problem is to count the letters and sequence from a file. the fist thing of my code is to read file and in the main function i create is to count the characters and sequence by using 2 dimension...
3
1382
by: sala | last post by:
This is my first project, it is about arrays,libraries and really i don't understand how to build a library; i found this project so hard that i don't know how to begin; can you just give any flash...
0
7130
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
7007
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
7171
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
7220
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
7386
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...
1
4918
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...
0
3098
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...
0
3090
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
664
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.