Questions tagged as 'ajax'

0
answers

Bootstrap 4 jquery (not slim version) bugs

I have a web project that made the front using BT4. In the BT4 docs the jquery.slim CDN is presented as required. I would like to use the $ .ajax function of jquery, but it is not available in the slim version of jquery. BT4 with the norma...
asked by 15.06.2018 / 22:47
0
answers

What is the best way to save data in real time?

Well, can you tell me the best way to save data in real time? For example, I have a news portal and I need to save each access I receive and display in a private panel, but in case my site has 30,000 simultaneous people running a script that sav...
asked by 20.06.2018 / 01:14
2
answers

How to delete registration in a modal without it closing?

Good afternoon! I make a request via AJAX to open a modal. I have a dataset ready and I have the option to delete the record from the table. The problem is that whenever I delete a record the page gives refresh and modal date. Is there a way to...
asked by 09.06.2018 / 16:59
2
answers

How to update audio html without refreshing the entire page?

My web page should play a different audio every 1 minute without refreshing the entire page. The audio can stay in a div, but it needs to be updated every 1 minute, but the way it is, the browser always picks up the first audio played, and whene...
asked by 09.06.2018 / 14:27
1
answer

JavaScript onClick event does not work with data-modal - Asp.Net Core MVC

I have a DataTable in my Index in which lines are loaded using JavaScript. The Edit, Details, Delete, and History buttons are created together. All of them open in a modal window (the modal block is inside the Index) ... In the html of each butt...
asked by 09.06.2018 / 13:21
0
answers

Get the Id of a cell from a DataTable to do a CRUD in Asp.net Core

I have a DataTable that is loaded using JavaScript. The CRUD buttons are dynamically created. Before when I used ViewModel and Razor it looked like this: <a asp-action="Edit" asp-route-id="@item.Id" title="Edit" class="btn btn-warning">...
asked by 08.06.2018 / 23:53
0
answers

Deleting equal data with a for

How do I eliminate in%% of the value that is coming in the result variable. For example if I came 8:00 to expose only the hours without 8:00. function buscarHorarios(dataConsu) { medico = $('#umedico').val(); $.ajax({ url: 'select2.p...
asked by 04.06.2018 / 19:33
1
answer

Send form and display "success" message on own page, and after clicking the submit another button appears

Hello, I'm new to these code stuff and wanted to know how I get the success message after I give Submit, I want those messages that appear in the green field, type a div, and edit with css. And I also wanted to after submit submit to appear anoth...
asked by 11.06.2018 / 20:50
1
answer

Sending a form per table for the same page without refresh

I'm having a little problem that starts with sending the form to the same page and displaying the parameters in a modal, but I can not get them through the post, follow the code: <!DOCTYPE html> <html lang="en"> <head> &...
asked by 31.05.2018 / 15:49
1
answer

How to receive data in JSON (REST)

Hello, I'm learning to program, I'm in the first semester of development and I'm being charged at work to learn how to do it, and I'd like to know if what I did is right or not. <!DOCTYPE html> <html lang="pt-br" dir="ltr"> <hea...
asked by 01.06.2018 / 19:16