dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: i wan't any function to update the db field when checking a check box

  1. #1
    Join Date
    Oct 2005
    Posts
    23

    i wan't any function to update the db field when checking a check box

    hi ,
    is there any one know how to make function to update db field and to be called on checking a check books
    Thanx
    Yoya

  2. #2
    Join Date
    Jun 2004
    Location
    Kansas City, MO
    Posts
    1,607
    You could use the onchange event to submit the page using javascript.

    Then when the page is reload check to see if the checkbox is checked or before you submit the page set a hidden field w/ a value that lets you know the check box is checked.

    Then based on that call a function that does the dirty work for you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles