Questions tagged as 'jquery'

2
answers

Delete on the bank using ajax and jquery

The correct method to delete, my question is how to get the id based on the table row, and how to send the same to a page that it actually excludes. The codes I have already done will be followed. userlist.php <script type="text/java...
asked by 02.06.2015 / 22:13
3
answers

JavaScript calculation

I have two input fields where I type values. I put a mask so that when I enter the value it will be in 0.00 format. How do I make a simple calculation with 0.00? Because I have a formula that I have passed and that the result, or the 0 or appear...
asked by 29.05.2015 / 16:07
1
answer

Length of content returning incorrect value

I have this code to check if the size of the user input conforms to some parameters, but the size it returns is always -1 the size of the input content, would it be the case to convert to int and add 1? $("input").keydown(function() { c...
asked by 19.04.2017 / 14:42
3
answers

avoid submitting a form with barcode reader

Well I have the following form: <form name="produto" method="post" action="cadastra.php"> <input name="cod" type='text'> <button type='submit'>FINALIZAR</button> </form> Good Whenever I use the barcode re...
asked by 17.05.2017 / 18:13
1
answer

Dynamic update without page refresh

Personal oops, all right? Next, I'm doing an administrative area and would like the content to dynamically update without the need to refresh the page to see if it has anything new. For example, if the administrator is on the order page and e...
asked by 16.03.2015 / 15:23
2
answers

How to select elements that have a valid id?

How do I select elements that have a defined id? For example, within the section below I have the following: <section> <div class="div"></div> <div id=""></div> <div id="div2"></div> &l...
asked by 02.05.2017 / 16:58
1
answer

Remove P with Jquery

I have a part of the site that is manageable, and this manager automatically creates <p> . I do not want this <p> . How do I remove only the <p> tag without the content inside. <li class="margin-bo...
asked by 27.02.2015 / 21:43
2
answers

Group json date for a given object

I have a list: var dataString='[ { "category" : "Search Engines", "hits" : 5, "bytes" : 50189 }, { "category" : "Content Server", "hits" : 1, "bytes" : 17308 }, { "category" : "Content Server", "hits" : 1, "bytes" : 47412 }, { "category"...
asked by 02.04.2015 / 01:40
2
answers

How to differentiate inputs that have the same class?

I would like, when I click on an input, to fill a variable with the value entered, but these inputs are created dynamically with an iterator and all inputs have the same class. Can you identify which input was clicked and get the value of it onl...
asked by 10.11.2014 / 13:31
1
answer

AJAX Request Error - success does not work

Good afternoon guys, I have the following AJAX request: $(document).ready(function () { $.ajax({ url: "/membros.aspx/populaGridMembros", type: "POST", dataType: "json", contentType: "application...
asked by 17.01.2015 / 17:30