how to pass an array through javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anyaa
    New Member
    • Aug 2007
    • 1

    #1

    how to pass an array through javascript

    could here please anybody tell me how to pass an array through javascript????? ??i want to make autosuggestion using php and ajax.i have displayed the list of options in .js file. nw want to fetch these options from database. i have created an array in suggestions provider(it gives list of options).nw dont how to pass it?????????
  • prometheuzz
    Recognized Expert New Member
    • Apr 2007
    • 197

    #2
    I moved your thread from the Editors Corner to the JavaScript/AJAX forum.

    Comment

    • dmjpro
      Top Contributor
      • Jan 2007
      • 2476

      #3
      Originally posted by prometheuzz
      I moved your thread from the Editors Corner to the JavaScript/AJAX forum.

      Welcome to TSDN.
      And remember one thing pissing is not allowed here like ???????.
      And dn't use code word so that experts can't understand your problem.
      It's not chatting forum.
      Anyway what I understood that you want to generate some suggestion using AJAX then want to print them on your page.
      So I dn't understand why here the Array comes in.
      You can simply generate a XML output through AJAX and then parse it and simply print those suggestions.
      It's very simple and mind it be specific while u posting ur Question.
      Ok.

      Best of luck with your try.
      Kind regards,
      Dmjpro.

      Comment

      Working...