All Questions

1
answer

Id in Html variable

I'm having a problem with a label, I want to change the id (that varies by number depending on the table that belongs) and on the line: document.getElementById('labelUsuario').id = "" + numeroMesa + ""; I get the following error: angular....
asked on 05.10.2017 / 11:16
1
answer

Management of "Enum" in javascript? [closed]

I'm developing something in JS and I need to sort data as static variables in remember a way to do this in java with the Enum , the thing I investigate is that there are no enum in js (?), so try to create an object var baseValue = { kb...
asked on 03.10.2017 / 15:17
2
answers

What is the correct use of mouseout () in Jquery?

When the hover event is detected in any of the menus, the options must scroll down. When the mouse exits the options, I'm trying to hide those options, but for some reason it does not work. Why? I do not see anything wrong with the implementatio...
asked on 05.10.2017 / 19:03
1
answer

Error when comparing if: "java: bad operand types for binary operator"

I have a small problem in which I try to compare an array with an int option in an IF entered by the user, I get an error. I do not program everything in the Main and I use several classes and I communicate with each other. I would like to ma...
asked on 29.05.2018 / 20:38
1
answer

Put an input date

Friends, I have a normal input <input type="datetime-local" class="form-control" id="fecha_y_hora_de_creacion"> and with ajax I bring the value of this input that is in a db and the server is like this: 2018-05-24 17:58:44 How...
asked on 29.05.2018 / 22:42
2
answers

Bring current date and time

I want to put the current date and time in this script select convert(datetime, cast(year(getdate()) as varchar(4)) + '-' + cast(month(getdate()) as varchar(2)) + '-' + cast(day(getdate()) as varchar(2)) + ' 12:00:00.000'); Can someone he...
asked on 25.05.2018 / 12:07
4
answers

search textbox inside div

I have the following <div class="d1" id="div1"> <input type="text" class="t1"> <input type="text" class="t1"> <input type="text" class="t1"> <input type="text" class="t1"> </div> <div class="d1" id="d...
asked on 24.05.2018 / 22:04
2
answers

Collect value of multiple select with jquery

I have a multiple select from which I need to check the value with jquery. I need to know how to pick up the value of that select, because if it's empty it returns this: But putting it in a if ([] === $("#comercial_lista_calc").val()...
asked on 21.05.2018 / 14:14
1
answer

Not Suitable User Defined Conversion error with use of templates

I'm doing a program in C ++ that overload the operators. For example, for the operator * you would like it to be multiplied: Cuadrado a(2.1); Circulo b(1.3); Circulo b(4.3); Triangulo x= a * b * c I have created the operation Cuad...
asked on 28.05.2018 / 10:45
3
answers

Ajax does not send the value of the data to php

I have a parameter that I send to a javascript function, when I make an alert of that parameter it shows me its value, there everything is correct. The problem is that I want to send this parameter via Ajax to a php file, but I think it is not d...
asked on 22.05.2018 / 16:53