Questions tagged as 'jquery'

2
answers

Replace the value of NULL with a fixed value in a Join SQL Server

I'm joining two tables in SQL using a LEFT OUTER JOIN. This is my query: SELECT V_InvoiceHeader.IDFactura, V_InvoiceHeader.FechaDocumento, V_InvoiceHeader.NombreCliente, V_InvoiceHeader.NIT, V_InvoiceHeader.DireccionFacturacion, V_In...
asked by 30.11.2018 / 18:36
2
answers

AJAX, get the data returned through the POST request in PHP

I have a form with four selects, the selects send data using a POST method to a page called prices.php, once there, prices are calculated and an integer is returned indicating the price. The thing is that I would like to show the result insid...
asked by 18.12.2018 / 02:01
2
answers

Send data by url with jquery

How is the data sent by url in jquery? I have an example in native js and I want to pass it to jquery var f2=document.getElementById('fechaFinal').value; window.location.href='localhost/reporte.php?f2='+f2;     
asked by 27.01.2017 / 23:51
1
answer

Datequery Jquery calendars are not displayed

I have the code of two calendar JQuery in my form but they are not displayed, even though I copied the code from an official JQuery page: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link h...
asked by 20.02.2017 / 15:43
2
answers

Error verifying if a record exists in the database

The following code gives me the error: Notice : Trying to get property of non-object in ... What it does is verify if a user exists in the database. $cate = $_POST['cat']; $veri = "SELECT * FROM category WHERE name = '$cate' "; $result = $...
asked by 13.02.2017 / 02:23
3
answers

Check several inputs

Having several inputs, if you would like to check all of them with the same pattern, how could it be done? an example var input1 = $("#inp1"); var input2 = $("#inp2"); var input3 = $("#inp3"); var input4 = $("#inp4"); var inputX = $("#inpX");...
asked by 01.02.2017 / 11:39
1
answer

php - do an autocomplete with PHP, MySQL and Jquery [closed]

I'm trying to autocomplete with jquery, and I've found many tutorials, some of which work for me, but at the design level I'd like to do it Bootstrap ... because of the responsive theme more than anything else. Something like that: Does an...
asked by 01.06.2016 / 22:25
2
answers

Get today's date with jQuery datepicker UI

How can you get the current pre-selected date, with .datepicker () ? This is the code I have so far: <script> $(function () { $.datepicker.setDefaults($.datepicker.regional["es"]); $("#datepicker").datepicker({...
asked by 15.04.2016 / 21:28
2
answers

Modify DropDownList MVC using Users?

I have these models in my users, febriles, districts and services, users and febriles data is required for districts and services, I have a dropdownlist with the following jquery and json script: @Scripts.Render("~/bundles/jqueryval") <scri...
asked by 22.11.2018 / 02:00
2
answers

Pass different values from the same button

Basically I'm changing a screen from where I had 4 inputs and 4 buttons (each input associated with a button for each). In the Onclick event of the button I called a jquery that calls a php to show an image according to the criteria established...
asked by 06.12.2018 / 14:48