Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
02-24-2014, 11:24 AM #1
- Join Date
- Feb 2014
- Thanked 0 Times in 0 Posts
dynamically data update in client side
hai to everybody,
I am new to java script i have a problem regarding to dynamically created check boxes. I have no orders in my catalog there rare two dynamically created deliver and undelivered check boxes for each order if any one select check boxes and click deliver button they are sent to database there status updated
and in the front end that orders check boxes only hide the deliver check boxes and only display the undelivered check boxes without page reload how can I achieve that please help me. how can I pick that check boxes.I am sending order ids to the database to update deliver status in database...
Thanks in advance
02-24-2014, 03:29 PM #2
- Join Date
- Jan 2011
- Thanked 917 Times in 914 Posts
I have a problem with this gadipudiss, It should be done by HTML not JS. Why does the HTML hide the 'deliver' thing? Or does it just not make it? And checkboxes are not the way to go here, they should be radio buttons so that only one can be checked.
A further problem occurs because you do not give us a method of identifying the hidden box or it's containing div.
Please find the code in the HTML that generates these boxes and their container.Evolution - The non-random survival of random variants.
Physics is actually atoms trying to understand themselves.