- f((input.medio == "Página Web"))
- {
- hide funcion;
- show tipo;
- }
- else
- {
- hide tipo;
- show funcion;
- }
In this case, it always execute the "else" part. I also tried:
- if((input.medio == "Página Web"))
- {
- hide funcion;
- show tipo;
- }
- if((input.medio != "Página Web"))
- {
- hide tipo;
- show funcion;
- }
In this case it executes the first "if", no matter which of both conditions is met.
iWhat can it be? The whole application is almost stuck because of this problem. I need help.