Not strictly JQM but here goes.

Not strictly JQM but here goes.

Hi, this isn't strictly JQM but I read this forum a lot and have picked up some great tips etc, so here goes.

  1. ad=new Array(3);
  2. ad[0]=new Array(3);

  3. ad[0][0]=new Object();
  4. ad[0][0].name="paul";

  5. ad[0][1]=new Object();
  6. ad[0][1].name="jones";

  7. ad[0][2]=new Object();
  8. ad[0][2].name="smith";

  9. // How would I get the index of the name 'jones'? In this case 1

Thanks in advance.