TryCF Gist

Home   »   TryCF Gist



var currentStates = [
    {
        stateID : 1,
        catID : 3
    },
    {
        stateID : 2,
        catID : 3
    }
];

var states = [
    {
        stateID : 1,
        catID : 3
    },
    {
        stateID : 2,
        catID : 3
    },
    {
        stateID : 3,
        catID : 3
    }
];
writedump(states);

//states.each( function( state,index,array ) {
 //writeOutput("#index#:#element#;"); 
//} );



Leave a Reply

Your email address will not be published. Required fields are marked *