Questions tagged as 'jquery'

0
answers

Consumption webservice with error: unsupported content type

My first question is: Can I call the WebService directly via JQUERY / AJAX or do I need to have something in PHP or some other backend language to perform the integration? If it is possible only with JQUERY / AJAX , it follows the prob...
asked by 11.12.2017 / 13:59
1
answer

How to put active class in navbar

I'm trying to put an active class in navbar, I'm using bootstrap, what happens is that when I click on li it comes to appear the background color but soon some. Here's the code I'm using css: .navbar-nav > .active { background-color:...
asked by 11.12.2017 / 16:52
0
answers

Doubt: What is the best way to display data in a table?

I'm studying JSP and Servlets and also JQuery and I came across a situation. Location: Imagine that you are going to display a product table where 20 items per page will be displayed for example. With that, you have that famous operator...
asked by 02.02.2018 / 21:03
2
answers

How to get the value of a TD?

I've tried a number of ways (VARIOUS SAME) but I did not succeed! Most give me a UNDEFINED Follow the code: PHP: <?php require_once('acessabanco.php'); $objDb = new db(); $link = $objDb->conecta_banco(); $sql = "SELECT p.s...
asked by 09.12.2017 / 15:40
1
answer

How to update a Select Data with Ajax?

I have the following doubt, I have a modal, where I enter a city, so I need to have my select reloaded showing this newly added option, without the page being updated: Select: <select id="idMunicipio" name="idMunicipio" class="form-con...
asked by 18.12.2017 / 01:06
1
answer

Autocomplete with ajax in Entity Framework

I have the following HTML code: <input id="pesquisaEstilo" name="pesquisa" type="text" placeholder="Destrito, Concelho" /> <input type="submit" value="Pesquisar" id="botaoPesquisar"/> I want to autocomplete the search bar using...
asked by 17.12.2017 / 20:19
3
answers

Remove Button and Field

Is there any way to remove fields with definite in Jquery? I have the following code via Javascript, when I make an Input recording the date in the database, I need the button and the input to disappear, only allowing the input date: &l...
asked by 18.12.2017 / 21:36
1
answer

Images with different size on the slider Materialize

I'm wanting to leave the Materialize slider images all the same size, but I'm not getting any success. I left this code to make the slider responsive, but the images are in different sizes. CSS .section-slide .slider .slides{ backgrou...
asked by 10.01.2018 / 01:09
1
answer

How to change http header using () .get and () .post ()?

In a very brief way I need to send a jwt token in the http header of the requests, how can I change the headers of the jQuery requests $.post() and $.get() ? Example of how I do it using curl from the prompt: curl -H "Authoriza...
asked by 10.01.2018 / 20:46
0
answers

Upload File, one at a time

I have a question about how to send one file at a time after the previous one is complete (I have a multiple input) but when sending send one at a time more (if the files are large send both at the same time and progress bar is wobbling from%...
asked by 05.01.2018 / 03:17