Questions tagged as 'ajax'

0
answers

How to send a form with blank targe and redirect the current page without the crhome block?

I have the following scenario: In a form I send the data via Ajax, at the time of the return if: if (json.retorno == true){ $("#form_imprime").submit(); } If I put a button on form and send via the click of this button it opens another...
asked by 20.09.2018 / 23:54
1
answer

Framework DWR - Does not execute

I'm trying to use the DWR framework to populate a select from the result of another select in my JSP. Only have no action after selecting the first select. JSP 1st SELECT: <select onchange="verificaHier...
asked by 28.09.2018 / 19:21
2
answers

Pass array of Json objects to Controller C # .NET

I need to make a post, and so far I'm trying to get AJAX to send an object to the Controller, but I'm having trouble getting the object. View / html: <select name="Servers" id="servers" multiple> <option value='{ "Id": "1",...
asked by 19.09.2018 / 01:22
0
answers

Problem integrating Ajax with Django code

I was making a code which reads a weather forecast and shows the value on a web platform, and the value is updated after a certain amount of time without needing to refresh the page. I was trying to accomplish in django, but I'm having trouble i...
asked by 18.09.2018 / 02:58
0
answers

Pull txtarea from html editor via select

Good afternoon, I'm having trouble correctly displaying the contents of a select within the html ckeditor editor. Code below: <form> <div class="form-group"> <label for="exampleFormControlSelect1">Selecione a página&l...
asked by 24.09.2018 / 19:36
1
answer

Upload data from a query to a lightbox

I'm developing a system, and I have the following code that returns the results of a query: $Dados = $conn->getResult(); foreach ($Dados as $Linha): echo $Linha['event_name']; echo "<a href='teste.php?id_event={$Linha['id_event'...
asked by 15.09.2016 / 23:52
1
answer

Crash submit form in ajax request

I have the following code: jQuery('#modal').on('submit', function(e) { jQuery('button[type="submit"]').prop('disabled', false); jQuery('div[name="loading"]').html("<i class='fa fa-circle-o-notch fa-spin'></i> Processando....
asked by 15.09.2016 / 18:49
1
answer

How to call my Asp.Net MVC view with ajax

I'm starting my studies with Asp.Net MVC and I'm having trouble getting a view from the main menu. I have an initial "_Layout" view with the following menu item: <li> <input type="radio" name="tabs" class="rd_tabs" id="tab3">...
asked by 23.09.2018 / 04:51
0
answers

Html does not load with php include_once ()

I'm trying to run a php file inside the html, I get the file alone but when I call it by include_once () in html the page just does not load. HTML <div class="input-field col s4 m3"> <select name="estado" id="id_estados" cl...
asked by 23.09.2018 / 17:02
0
answers

Ajax does not load

I'm trying to fill in 2 combobox (State), (City) with the database return, the first one of states got, the states are shown and then I get their UF to do the municipalities query, but my ajax does not seem to call the php file. HTML <di...
asked by 23.09.2018 / 07:37