Questions tagged as 'javascript'

1
answer

How to clone a single element of a class in jquery?

Hello! What happens is that I have the following html code that is to create dynamic objects: <!doctype html> <html lang="es-mx"> <head> <style> .opcion{ width: 100%;...
asked by 22.06.2018 / 18:25
1
answer

How to show a price according to which items of several selects are selected with Javascript?

I have a form to know a budget according to which options of 3 selects the users choose.
asked by 22.06.2018 / 01:09
1
answer

capture data with a modal from a dynamic table

Good evening to those who read me, want to help me, I want to capture the values of a row of a table and display them in a modal aui I have the table that comes from the database ... <tbody id="myTable"> @foreach($act...
asked by 24.06.2018 / 03:41
4
answers

Error sending variable from ajax to php via post, help please

Well here is the code: $("#ajax_formulario").submit(function () { $.post("ajax.php", {nombre:$(".ajax_nombre").val(), apellido:$(".apellido_ajax").val(), edad:$(".edad_ajax").val() }, function () { alert("Exitos...
asked by 26.05.2018 / 23:07
2
answers

error: Maximum update depth exceeded

Hi, I am trying to capture a variable in a child component and pass it to the parent component App.js to update the total amount status. This is the error message: "Maximum update depth exceeded. This can happen when a component repeatedly ca...
asked by 23.07.2018 / 23:44
2
answers

Problems with fn.call () within a method in a Javascript object

I have a problem with fn.call () within a method in an object. I have an arrangement that internally has objects, the values of these objects are type and gender. const gustos = [ {tipo:'libros', genero: 'futuristas'}, {tipo:'music...
asked by 26.05.2018 / 16:04
1
answer

Close HTML img tag

I'm getting an html string from a text editor called froala , but this editor does not close the img tags. How could I take an html string that contains tags of this type: <img src="rutaxx" alt="altxx" class="classxxx"> and...
asked by 23.07.2018 / 12:28
3
answers

upload an image in html and javascript

I am sending an image to my web server that I select from my HTML in the following way: <form method="POST" action="http://'+ip+'/HelloSpringMVC/uploadFile" action="subirFoto();" enctype="multipart/form-data"> File to upload: <inpu...
asked by 14.05.2018 / 18:46
1
answer

Send data by POST from a DataTable

I am using a DataTable created dynamically from a DB in which I capture the event onclick of which row was selected and I collect your data, now what I need is that I redirect to another php file (I want to send them by POST) in which mus...
asked by 23.07.2018 / 21:23
1
answer

Keydown event is lost when opening modal

I have a slide created with the library blueimp.js On the slide I need to read when the user presses the B or C key. So far so good, the detail is that when you open and close a modal, you lose the reading of the keydown event and it is only act...
asked by 14.05.2018 / 18:45