Results 1 to 2 of 2

Thread: dividing a string

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2000
    Posts
    117

    dividing a string

    hi!



    i have a page with checkbox that when a user click on a checkbox (he can click as many as he want) i am sending the id num to another page.
    there i want to put every id num to a string in array



    the string that i am sendig is like this/

    "34,35,67,46,35.....n"


    i want to upadte my database by this id, so i must have each id alone


    i can i do it in js?\


    i hope i am clear?
    thank you
    sharon

  2. #2
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    Javascript has a split function that should work nicely.

    http://devedge.netscape.com/library/...g.html#1194452
    Josh
    Get these: Mozilla Opera OpenBSD
    I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.

Posting Permissions

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



Click Here to Expand Forum to Full Width