how r u

i need help in JSon array
Textt(Temp_J) is a function which sends items but Json arry doesn't accept it

can u help plz

i have this code

PHP Code:

var J={ "myMenu" : [   
"title"" ",  
"popMenu":[
          {
"title":" ""popMenu":[
                        {
"title":" "}
                         ]
}
          ]
},

]};



function 
creat_J() // to add random items to array in JSON 


  
Temp_J =randomFromTo(min_lengthJmax_lengthJ);//call random function to send a number 

for(var b=0;b<7;b++){ 

J.myMenu[b]={"title":Textt(Temp_J) , "popMenu":[{"title":"tt""popMenu":[{"title":"tttt"}]}]}; 

// Textt(Temp_J) is function which send random text from other array  
alert(J.myMenu[b].title);