Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (var i = 0; i <= response.length; i++) {
- console.log(response[i].zona);
- console.log(response[i].desde);
- if (response[i].zona == "3") {
- $("td[data-id='"+response[i].desde+"']").text("Turno reservado").addClass('hight').find();
- console.log(response[i].zona);
- } else if (response[i].zona == "2") {
- $("td[data-id='"+response[i].desde+"']").text("Turno reservado").addClass('hight').find();
- console.log(response[i].zona);
- } else {
- $("td[data-id='"+response[i].desde+"']").text("Turno reservado").addClass('hight').find();
- console.log(response[i].zona);
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement