SitePoint Sponsor

User Tag List

Results 1 to 1 of 1
  1. #1
    SitePoint Enthusiast
    Join Date
    Jan 2004
    Location
    Durban
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Accessing the new value of an item in an array

    Hi

    I am using an array to store the current values of a set of checkboxes (checked or unchecked). This array is then updated when a checkbox is ticked or unticked.

    The updated array is then used to write a string into a hidden form field for passing back to the server.

    The problem I have is that the form output (just dumped to an email for now) reflects the original array values and not the updated ones.

    Any pointers would be appreciated. A simplified example is attached.

    Thanks
    Brendon
    Attached Files Attached Files


Bookmarks

Posting Permissions

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