1
I have two elements that need to be updated a DIV and another INPUT
One has to be updated value and another html, example
...
    $.each(json, function (index, value) {
       if (typeof $("#" + index).val() !== "undefined") {
           $("#" + index).val(value);
       } else {
           if (typeof $("#" + index).html() !== "undefined") {
               $("#" + index).html(value);
           }
      }
   });
...
I’m doing it the way up but it’s not working
As I was not sure that could generate error I decided to put another if, I will use your example
– Marcelo
Blz. Give feedback on whether or not you’ve solved.
– Sam
DVD worked, thanks a lot
– Marcelo