This is my% test% and I need to search for their respective data using the ce and stronghold keys . In this case, the search is done by json
that was submitted to AJAX
through a form with two select:
{
"ce": {
"fortaleza": [
{
"nome": "Teste",
"email": "[email protected]",
"cel": "(xx) xx-xx"
},
{
"nome": "Teste",
"email": "[email protected]",
"cel": "(xx) xx-xx"
}
],
"sobral": [
{
"nome": "Teste",
"email": "[email protected]",
"cel": "(xx) xx-xx"
},
{
"nome": "Teste",
"email": "[email protected]",
"cel": "(xx) xx-xx"
}
]
},
"rn": {
"carnaiba": [
{
"nome": "Teste",
"email": "[email protected]",
"cel": "(xx) xx-xx"
},
{
"nome": "Teste",
"email": "[email protected]",
"cel": "(xx) xx-xx"
}
],
"sorisal": [
{
"nome": "Teste",
"email": "[email protected]",
"cel": "(xx) xx-xx"
},
{
"nome": "Teste",
"email": "[email protected]",
"cel": "(xx) xx-xx"
}
]
}
}
Form with example result:
I have no idea how to do this with jquery, because I am completely lay.