Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2014
    Posts
    1
    Thanks
    0
    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

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,466
    Thanks
    23
    Thanked 634 Times in 633 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.

    "If you leave hydrogen alone, for long enough, it begins to think about itself."


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •