Questions tagged as 'javascript'

1
answer

Advance steps in a form with fieldsets

I have a form with multiple separate steps with a fieldset , and what I want it to do is that the progressbar has href to send directly to the next fieldset , without changing much what CSS is . Any response is apprecia...
asked by 11.07.2016 / 02:05
1
answer

Invalid JSON response

I'm using Datatables and showing the data from an HTML table works perfectly, but when I want to show SQL Server data from PHP I get the following error: My PHP code works in the following way: <?php session_start(); if (isse...
asked by 28.07.2016 / 16:57
1
answer

deserealize array json and vb.net

Ajax sends an array containing values that the user selects from a checkbox set in this way $("#btnEnviarTelcel").click(function () { var conjuntoFacturas=[]; $("#form1 input[type=checkbox]").each(function (i) {...
asked by 01.07.2016 / 22:34
1
answer

Navigate with a for the child elements of a parent node but that the function is added specifically to the child clicked

var ViewDelett0element = function(){ for (var p = 0; p <= List.children.length -1; p++) { List.children[p].addEventListener("click", function(){List.parentNode.setAttribute("class", "ViewDelett0element")});} }; Please help me: I am currentl...
asked by 13.07.2016 / 02:25
2
answers

Load data by ajax with Jquery and place parameters in url

I have a search form that I want the results to return to me with ajax in a single sector without loading the whole page. I'm using the function $.get() of Jquery, but the problem would be that when I return the results of the search a...
asked by 22.08.2016 / 14:52
1
answer

Show and hide the options of my select with angularJS

I present my problem: I have a dynamic form, this has several fields and among them I have a selection that has the options: chapter, subchapter, level 1, level 2, level 3 and level 4, every time I select an option of this select a new one is cr...
asked by 23.06.2016 / 19:14
1
answer

calculate values of a dynamic table

What I want to do is calculate the values of the SubTotal field, since this is the result of the multiplication between the values of the Price field and the value entered in field text Quantity . In addition to calculating the VAT of the s...
asked by 24.06.2016 / 19:52
1
answer

how to send name and value of a submit button via ajax

I'm using the obj. FormData () to send the different input controls of a form but the problem is that it excludes the input submit that sent the form, of course it does chrome but the other browsers do not. I have several submit s. In the docume...
asked by 08.06.2016 / 14:07
2
answers

Invoke OnClick event from an asp: LinkButton from JavaScript?

I need to invoke the session closing method from JavaScript (once the system counter reaches 0). Sight code: <asp:LinkButton ID="Lbtn_Salir" type="button" runat="server" OnClick="Lbtn_Salir_Click" OnClientClick="Lbt...
asked by 21.06.2016 / 16:56
1
answer

How do I achieve that the Div does not overflow? [closed]

$(document).ready(function() { //Botones de la comida var bon = document.getElementById('boton1'); bon.addEventListener("click", agregar1); var bona = document.getElementById('boton2'); bona.addEventListener("click", agregar2) //Funci...
asked by 15.06.2016 / 02:12