0 Replies Latest reply on Feb 28, 2010 7:57 PM by maggi maggi

    Javascript

    maggi maggi Newbie

      Hi,


      I have a entity 'Cat' and it has property 'color'. I get 4 values in the resultlist of 'CatHome'. I wish to use document.write to print the first and second value of the resultlist inside the javascript. I also want to have a while condition which checks resultlist just like in java we have,
      while (rs.next())
      {
        
      }


      Please guide me.