Questions tagged as 'ajax'

0
answers

Validation of multi-forms Jquery

I created a form, where I have a SELECT with three options, and when selecting them, jquery displays different form options with their respective contents (there are three DIVs with hide class to hide them). The problem is that when submitting t...
asked by 17.11.2018 / 21:46
0
answers

Is not the PHP session refreshed when using Ajax?

I have a scheduling page where every 30 seconds I send (in the background) an ajax request to know which schedules are still available, if there is an error I show a bootstrap with error information, it works 99% / p> The 1% is because the fol...
asked by 27.11.2018 / 14:13
0
answers

Refresh combobox with data from another Rails table

I have a "professions" field that appears inside the "patient" table. The field "professions" is autocomplete with gene chosen. I want to create a "new profession" button where when searching the combobox and not finding the desired profession,...
asked by 13.11.2018 / 00:20
1
answer

How to access the object window from another page

I am making a request via Ajax, I can capture the html, but I wanted to have access to the object window of the page that made the request, is it possible? Example how I'm using. $('#link').click(function(){ $.ajax({ url: 'www.goog...
asked by 12.11.2018 / 01:56
0
answers

JSF, Primefaces, p: fileupload stopped working after chrome update

fileupload worked perfectly for up to 3 Chrome updates ago, Firefox never worked, I searched the internet for some solution or similar error and I was not successful. The page in question should attach the file to then send, it happens that...
asked by 12.11.2018 / 14:09
0
answers

how to pass two PHP variables in the onclick function of the html button?

echo '<button onclick="deleteVaga('.$id,$cidade.')"><i class="far fa-trash-alt" style="font-size:36px;color:#f00;"></i></button>'; In the deleteVaga function, it recognizes only one passed variable, but I do not know ho...
asked by 08.11.2018 / 17:21
1
answer

Laravel + AJAX JQuery

Good evening, I'm learning Laravel and need to update a div every 10 seconds. I have a route that, upon being called, makes a query to the database. This route returns the Dashboard view. Route: Route::get('/dashboard','DashboardContr...
asked by 08.11.2018 / 00:14
2
answers

Generate HTML components with PHP and assign them javascript characteristics

I created a form that has a panel, and in that panel it has a input date with a jquery datepicker . If I have data entered in the database, my PHP creates more rows in this panel (via ajax ) with other input to insert d...
asked by 07.11.2018 / 01:02
1
answer

How to get the variable id of a form in ajax

I need to know how to send the form id, which varies according to the post ID, which would be something like myForm '. $ id.' to be able to treat each form itself. The form is sent through the script: function rpbox(value, valor) { $(docum...
asked by 04.11.2018 / 23:46
0
answers

Auto Update csv file in HTML Table with Ajax

I have a JS code here and it runs with Ajax. In the subject created I would like to load the csv already selected in the site, and every time I reload the page it loads the csv in the html table. No need to select and thus generating Auto Update...
asked by 31.10.2018 / 17:51