SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict ankitaneja1's Avatar
    Join Date
    Sep 2004
    Location
    India
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    new to javascript:help

    i have A, b, c in a variable
    and i have to put all these in an array
    how can i do that
    Ankit Aneja
    "Nothing is impossible. The word itself says - I M possible"

  2. #2
    SitePoint Guru momos's Avatar
    Join Date
    Apr 2004
    Location
    Belgium
    Posts
    919
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    var a="a,b,c";
    var arr=a.split(",");

    Do you mean this?

  3. #3
    SitePoint Addict ankitaneja1's Avatar
    Join Date
    Sep 2004
    Location
    India
    Posts
    238
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ya thanks
    momos
    Ankit Aneja
    "Nothing is impossible. The word itself says - I M possible"


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
  •