Questions tagged as 'ajax'

1
answer

How to add mascara in the input ajax via jquery?

Hello everyone, I have a function that edits the table dynamically, but the data contained in it has formatting coming from the database, but when I double click it it does not remain with the mask. the table coming from the bank is this Icanedi...
asked by 03.02.2017 / 15:03
1
answer

Load a table dynamically with ajax

I am trying to mount a table by making a request to the server and populating it with the return. The return of the server is correct, but when it enters the function(data) , I noticed that it loads all my html page, I already tr...
asked by 03.05.2017 / 17:57
1
answer

Primefaces does not find Panel and DataTable components

I'm doing a job where I use Primefaces + Ajax + Hibernate. I have a screen to add / change a client that should open in a modal every time the user clicks the button. And in that same code I have a dataTable to show all clients. However, for som...
asked by 12.11.2016 / 15:33
1
answer

How to load multiple .html pages with ajax

I am using this code to load a .html page, but it does not create several as I would like, I have the feeling that it only manages to create it once. I would like to create several of them. for(var i = 0; i < 4; i++) { $.post('l...
asked by 14.01.2017 / 21:17
1
answer

Pass parameter with ajax

My application receives a directory in the first field of the form. Through this directory I will list the files in it. I have a method that will list the files according to the directory received by parameter. After the user informs the directo...
asked by 02.02.2017 / 14:00
2
answers

How to get values with space in JSON

Hello. I'm having a problem with a popular select with JSON. When the value has 2 or more words the 'value' of my option is not filled correctly. Example: { "Marcas": { "Acura": { "Modelos": ["Integra", "Legend", "NSX"] },...
asked by 04.10.2016 / 00:00
1
answer

"if and else" condition for sending Ajax, taking text from span tags?

It's kind of hard to explain by title, but it's the following, I have a foreach that prints in a <ul> tags list, and inside it I have the following code: <?php if ($row['Status'] == 'Em Processo'):?>...
asked by 31.08.2016 / 19:40
1
answer

How to select Option value with Ajax data return?

I have the following HTML code: <select id="priorities-info" class="form-control selectpicker" data-live-search="true" disabled="" tabindex="-98"> <option value="1" data-tokens="Alta">Alta</option> <option value="2...
asked by 30.11.2016 / 13:13
1
answer

Form within an html Form

A doubt that may be simple, but I had no choice: I have a main html FORM, which captures all the data in a table, the problem is that there are images uploaded inside that form, and that upload is instantaneous without the form submit (made w...
asked by 01.08.2016 / 19:16
2
answers

Make submit a form via ajax

I have the following code in my controller: [HttpGet] public ActionResult Mensagem(long idT, long idD) { string raaluno = acr.getAlunoLogado().ToString(); ViewBag.idT = idT.ToString(); ViewBag.idD = idD.ToString...
asked by 08.06.2016 / 03:54