Questions tagged as 'javascript'

1
answer

How to perform an input operation using a checkbox

I need your help as I could perform an operation (in this case a multiplication by * 0.13) in the 2 inputs (item_1 and item_2) by means of a checkbox, that is when you enter a quantity in the inputs and press the checkbox, the operation and the...
asked by 29.11.2018 / 03:47
1
answer

Laravel form destination from Javascript

I have a form in a blade view, like this: <form id="delete_form" method="post" action=""> @method('DELETE') @csrf <input type="hidden" id="delete_type" name="delete_type" value=""> </form> The value of actio...
asked by 24.11.2018 / 12:54
1
answer

How to make several things update at once in JavaScript part 2 with a single data

good day. My question is: How to make several things update at the same time with a single data? For example, if I have a text that says "Barcelona" automatically (for example, an image appears above this text) look in the folder of the dire...
asked by 01.12.2018 / 00:18
1
answer

assign validation attributes to html date with javascript

Good afternoon. Does anyone know how to correctly apply this function? I found a code in this same place that allowed me to enter a value of "today" at least for a date in HTML <input id="datefield" type='date' min='1899-01-01' max='2000-13...
asked by 08.12.2018 / 20:51
1
answer

How to pass a variable js to a query in ASP.Net

Very well I explain, I have a form, I use the date picker range for the dates, and it works, I make a console.log and it gives me the start date and the end, all right up there, the point now is like I send that variable to my search query in th...
asked by 11.12.2018 / 19:00
1
answer

Error jQuery 500 when executing a GET

I have a small script that calls a PHP file but it does not work for me, it throws 500 error by the Chrome console ... The idea is that when you select an element in a textlist, then execute the PHP code and print it inside a table that has i...
asked by 13.12.2018 / 05:14
1
answer

How to export to Excel data from a table (datatable) asp.net mvc 5

This is on my table I need to send to excel This is a part of my view <div class="panel panel-flat"> <div class="panel-heading"> <h5 class="panel-title">Tipo Planilla:<strong> @ViewBag.FrecuenciaPag...
asked by 15.11.2018 / 20:25
1
answer

values in a html table loaded from mysql

Very good friends, I have a question: I have the following table: <div class="container"> <table class="table"> <thead> <tr> <th scope="col">Fecha</th> <th scope="col">Concepto</th>...
asked by 29.12.2018 / 22:32
2
answers

Problem with float numbers in php

How about? I know it's a very talked about topic but I can not find a solution if you can lend me a hand. I have an application in which I calculate the VAT and as the products I offer have different VAT I have decided to add the amount and assi...
asked by 15.11.2018 / 20:41
1
answer

variable step between functions with JQUERY

I'm having some doubts about the logic of passing variables between functions, the example is as follows: having 3 functions (main function, secondary function and final function) // mainfunction sends and retrieves values via ajax, calls...
asked by 13.11.2018 / 17:42