Questions tagged as 'javascript'

1
answer

How to change a label according to a "select" in html + javascript?

I am learning JavaScript and I need that for example if the user chooses "clothes" the label below changes to "10000" but I try it and it does not work out. How could I do it? function ShowSelected() { /* Para obtener el valor */ var...
asked by 09.05.2018 / 23:10
0
answers

I try to perform a POST from Angular to a service developed in ASP.NET Core

Hello good community I am having problems when doing a POST from Angular, I have a web service developed with ASP.NET Core 2. My post-service method is as follows: [HttpPost] public async Task<IActionResult> PostTipoPago(TipoPago tip...
asked by 14.05.2018 / 20:13
1
answer

Select from drop-down list and open an iframe on the same page?

I need to open a frame within the same jsp page when selecting one of my options. Principal.jsp <script language="JavaScript"> function busqueda() { location=document.buscar.lista.options[document.buscar.lista.selectedIndex].v...
asked by 14.05.2018 / 19:07
0
answers

Add Writable computed observable to an object with Knockout JS

I'm trying to add a variable Writable computed observables to an object, I use it to add radio buttons to each row of a table with Knockout, I have this: JS var PageBackControls = { ApplyRecommended: ko.observable(true)...
asked by 09.05.2018 / 14:37
0
answers

Clone forms independently

I have a form of which some fields can be cloned according to the needs of the user. I have used a java script that allows me to do it, but I have not known separates all the variables so that they work independently. When cloning there is...
asked by 14.05.2018 / 18:53
0
answers

Can I download a .docm file from a JSP server?

When I download from my jsp application, the .docm files and open them, I get the message: "Sorry, can not open doc1.docm because there is a problem with the content." If I rename that file by changing the extension to .docx it can be displayed....
asked by 09.05.2018 / 10:01
0
answers

data insertion using ajax and php

I have a problem. I have to make an attendance report, based on the marking done by the employee at the time of entering, I must perform the assistance (if it is or is not). to insert the assistance, I need to do it through ajax but I could not....
asked by 09.05.2018 / 14:18
0
answers

how to modify status within a function of the firebase api

I'm trying to implement a user registry using auth and firebase database. The idea is that a user log in with his facebook or google account and if he had never entered before, he saves his data and also goes to an instance where he must choose...
asked by 09.05.2018 / 16:27
0
answers

receive post variables in an ajax and process the data and print them in an html table to show the compass cart without updating page

I am a newbie in web programming and made a shopping cart using SESSIONES, in which I add products through a form that is contained in a container this form has a submit button, which sends the data of the selected product by the post method thi...
asked by 08.05.2018 / 05:51
0
answers

registration with PDO

I have this error Fatal error: Call to a member function prepare() on a non-object insertion code $adam2=Conexion::conectar(); $fech = $_POST['fech']; $hora = $_POST['hora']; $ced = $_POST['ced']; $nom = $_POST['nom']...
asked by 09.05.2018 / 20:18