Questions tagged as 'jquery'

1
answer

Getting information from a JSON and saving in SQL Server using JavaScript

I have this code, which returns the information I want and shows on the page. Now I would need to save this information in a SQL Server database, how would that be possible? It's been really hard for me since I've never worked with API, JS...
asked by 22.10.2018 / 23:40
1
answer

How do I change a row in the data table when I select it?

In this code I can select it and in the console.log have access to the information, but I do not know how to change it: $(document).ready(function () { var oTable = $('#tableproduct').DataTable(); $('#tableproduct tbody').on('clic...
asked by 18.10.2018 / 22:12
1
answer

Pass the page html via GET Ajax

Hello, I'm trying to download an excel file by passing the html page, but when trying to send the html, it's passing as null. Ajax function exportarExcel() { var html = $("body").html(); $.ajax({ url: location.href = '@...
asked by 18.10.2018 / 17:02
1
answer

Shopping cart (checkout) keeping only the last value

All right? I'm working on a project with Laravel PHP framework for backend and jQuery for the front end. I'm setting up a football stadium ticket checkout for a system I'm developing. I almost have all the checkout ready, however, what hap...
asked by 13.10.2018 / 01:47
1
answer

Null object with jquery ajax MVC3

I know I must be forgetting something. I am making a jquery ajax request to send a message via contact form, however the object is arriving null at controller . I tried doing with JSON.stringfy and without it, with it comes th...
asked by 15.11.2018 / 22:43
1
answer

Help to capture change in field checkbox

I have the following code that fetches the product and creates the row in the table the way I want it and then stores the data in a Json to be sent per post. Only works when I insert a new product. But I needed to store Json whenever I tagged...
asked by 29.11.2018 / 14:00
3
answers

Keywords with Jquery

I would like to do something like: Foreverywordtheusertypes,itlooksliketheimageabove.TheclosestIcouldgetwastoknowthenumberofwordshetyped,followthecodebelow: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">...
asked by 05.11.2018 / 19:37
1
answer

Validation javascript field with Split

I need to do a javascript validation, which picks up how many are filled, the mask is this way: 000,000,000,000 etc. in case it should get 4, because it is the sequence of 4, each 000 one account, the user will fill type: 030,050,060 etc. to com...
asked by 06.11.2018 / 19:28
1
answer

How to change the Datepicker format dynamically?

I would like to know if there is any way to change the format of the datepicker dynamically using radio buttons, but the way I'm trying is not working ... HTML <input id="periodo" name="periodo" type="text" placeholder="Período"> <...
asked by 26.09.2018 / 15:18
1
answer

How to do a dropdown autocomplete field in Loop

As I do not have much knowledge of javascript I need a help in this my problem here ... In this form and precise that when choosing an item in the dropdown it fills the field next to the value contained in its value <script src="https:/...
asked by 24.09.2018 / 20:19