All Questions

2
answers

Activate HTML5 validations from Js

I have this js, and this html: $(document).on('click', '.validar', function (event) { event.preventDefault(); var cantidad = 0; var obj = { "correo": $(".txtEmail").attr("id") }; $.each(obj,...
asked on 20.06.2018 / 21:45
2
answers

How to order an area by means of your property in javascript?

var apartamentos = [{ fecha_ingreso: "10/10/11", tipo_inmueble:"En venta", precio: "1000", titulo: "Edificio", metraje: 3, ubicacion: '14 Avenida 16-01 Zona 10. Guatemala, Guatemala', zona: "Zona 3", habitaciones: 3, parqu...
asked on 08.06.2018 / 21:49
1
answer

I can not remove the object from my list DataTable

I am inside my service and here is where I put the parameter so that I receive the id of the row I want to delete. @Transactional public void eliminaHerramienta(Integer idherramienta) { try { Herramienta p = manager.find(Herramient...
asked on 27.06.2018 / 21:15
2
answers

How can I separate a string by characters? PHP Jquery

Good afternoon Titans of programming, I have a problem, I'm taking from the database a string which gives me the following value 1101000100000000 , I explain what this value is for, each character is a state 0 = Cerrado and 1 = A...
asked on 07.06.2018 / 18:56
1
answer

Compiled error: 'was not declared in this scope'

When compiling this code, the compiler complains about the following error:    error : 'content' was not declared in this scope When it is apparently declared as an input parameter in the macro function. #include <iostream> #defi...
asked on 08.06.2017 / 05:15
1
answer

Do a SELECT between two databases on the same server - postgresql

Good evening Titans of programming I have a problem, I'm trying to make a selection between two different databases that are on the same server, this is the query I do: SELECT A.nodo, B.nodo FROM camper.public.camper1 A INNER...
asked on 12.06.2018 / 00:26
1
answer

Pass the html form structure to json

I'm trying to pass a html form structure to json and of course the idea is that the html form is dynamic since every time it can be different and I need a code that passes to me json the elements of the form and its characteristics of this For e...
asked on 31.05.2017 / 07:50
1
answer

Load date in input

I'm making a form and to insert the date and send it I have no problem. The problem comes when I try to manually enter a date from js, it does not load. I enclose the input code: <input class="form-control datetimepicker" type="date"...
asked on 21.06.2018 / 10:08
2
answers

Create buttons with jQuery and Javascript

If we want to create a button in HTML , we need a code similar to: <input type="submit" value="Numero parrafos" id="num_parrafos" name="Numero Parrafos"/> How would the code be moved to jQuery or Javascript? To avoid the need to mo...
asked on 03.06.2017 / 14:19
1
answer

Derivatives in matlab

To do an integral in matlab we can execute the following: syms variable int(funcion,variable,a,b) can a derivative be made in the same way in a symbolic way?     
asked on 03.06.2017 / 09:05