Hiding contents of a js array in the view

hi,
  try json if it fits your need
  in my autocompleter I used it.
regards
gaurav