jquery ile speicific dizi elemanları erişen

1 Cevap php

Benim PHP 6 elemanları ile bir dizi döndürür nasıl bunların her jquery özellikle erişmek?

Örneğin ben oluşturmak istiyorum:

var itemOne = value of first array element; var itemTwo = value of second array element; ...

$.get('ajax/employee_menu.php', { job: $('#job').val() },      
        function(data) 
    	{
    	  	//i want to put each value from 'data' into variables here.
    	 });