Questions tagged as 'jquery'

1
answer

Update the index of the row of a table html

How do I update the row index of a table html after removing it? I better explain I have a table that I can add or delete items to add I use an auto increment variable: _contaLinha++ : Add items to the table: function Adicionar() {...
asked by 04.05.2016 / 00:30
1
answer

AJAX PHP system - When using $ ("# div"), load ("page.php", {foo: bar}); jQuery not found $ ("# div")

I have an AJAX system in PHP and I have an index.php where I have all src js included: <head> <link rel="stylesheet" href="/assets/fileinput/css/fileinput.min.css" media="all" type="text/css" /> <script src="/assets/plugins/jQu...
asked by 30.03.2016 / 05:57
1
answer

Show and reset select with checkbox in jquery

In the sample code attached, item value is multiplied by the value of the respective select and displays the subtotal and total. My question (beginner) is how to hide and remove the selectlist when the checkbox is unchecked, that is, when the...
asked by 21.03.2016 / 14:42
3
answers

Exit the loop suddenly

Let's imagine the following code: function FazAlgoTrabalhoso(parametro1, parametro2, parametro3){ //Algo trabalhoso aqui } var i; for(i=0;i<=coisas.length;i++){ //"coisas" é um array já preenchido FazAlgoTrabalhoso(coisas[i].algo1, coi...
asked by 02.03.2017 / 14:01
1
answer

Google follows URL from date-href?

On my site there are links to certain URLs that are opened with Jquery and the data-href attribute. This attribute is inserted into a normal div that works like a button. Eg: <div class="open_url" data-href="http://www.exemplo.com.br">...
asked by 13.03.2016 / 22:04
1
answer

Form with datetimepicker

I'm developing a scheduling system and I'm using datetimepicker to dial the hours. I need a help with json; I need to block the dates that are being used so they can not be selected. The project is updated in github. Thanks in advance!...
asked by 19.03.2016 / 07:47
1
answer

How to save a html page in java

I have a project which I need to report for each code. And save it to disk in PDF format. After generating the report, I do not know how to pass the (generated) page to the Servlet and save it to PDF. I was able to send the html to the servle...
asked by 15.01.2016 / 16:42
1
answer

JqGrid, shows success in loading, but does not mount to Grid

I have grid on my site that I use JqGrid . What is happening is that when the data comes back from the request, they are formatted correctly because the JqGrid itself enters the loadComplete method, however, it does no...
asked by 21.01.2016 / 22:43
1
answer

Show data from my site on other sites

I have a website where I want to make a widget available (or something). I want to do more or less how some sites do: They give a JS + div link to the user. It simply puts it on the site and the data appears. My site is PHP, I already managed...
asked by 19.01.2016 / 16:43
1
answer

Scroll is always at the base of a div

I'm automatically fetching information from a database, from which you create a scroll in a div. The problem is that I have to scroll down to follow the information that appears on the screen. How would I have the scroll scroll down automaticall...
asked by 04.12.2015 / 15:21