Questions tagged as 'jquery'

1
answer

change content color according to values in table

Someone can help me thank you I get values in the format ex: 5/7 is the result of the score that the user registers and can view on the same screen, if I had only the number I believe that JS would take this in an int and it would be easy for...
asked by 18.12.2017 / 21:30
1
answer

Post fields as they are included with Jquery

I have the form below which when I click on Add More Pets , it includes perfectly. So far it's working 100%, see: PleasenotethatIhaveanumberingnexttothetitle#1.Iwouldlikeasnewpanelstobeincluded,benumbered:#1,#2,#3,#N...Itriedthefollowing:HT...
asked by 26.08.2017 / 19:32
1
answer

jQuery Autocomplete Uncaught TypeError: Can not read property 'length' of undefined [closed]

I'm using jQuery autocomplete to grab data from a JSON and show them in as suggestions on the form while typing. It turns out that JSON is not in the format expected by the plugin, so I decided to try to turn it into an array, but it's only in...
asked by 28.08.2017 / 04:52
1
answer

Capturing the date of the input type date

I have one <input type="date" class="form-control" name="data"> In Jquery I need to capture that date and then send it to DB var data = $("#data").val(); But the value only returns 'undefined'. How do I get the value of an input...
asked by 10.01.2018 / 12:56
1
answer

SyntaxError: missing) in parenthetical

I'm trying to use the code for this site , but when I run it, it appears the error:    SyntaxError: missing) in parenthetical I can not find the error. See below: <div class="comment-form-container"> <form id="frm-comm...
asked by 10.01.2018 / 16:32
1
answer

Show result JSON via Ajax

I'm not very knowledgeable about javascript, but I need to integrate a payment API. I've never done integrations with any API before. Following the documentation I saw that you first need to generate a transaction token. So I have this...
asked by 16.08.2017 / 20:01
1
answer

$ _GET does not catch "+"

I'm retrieving a value from an AJAX request, it works fine however it has a problem. The "+" character is replaced by a blank Dell printer (supporting eSF 2.1+) Stay Dell printer (supporting eSF 2.1 ) And this is giving "bomb" in the s...
asked by 16.08.2017 / 15:59
2
answers

SlideDown from the bottom up

I'd like to apply slideDown () effect to a UL , however I'd like the effect to run from the bottom up. That is, the div would open from the bottom up.     
asked by 12.10.2017 / 20:42
1
answer

Empty fields PHPMailer [closed]

I have a form from which to be fired, the fields arrive empty in the email. Does anyone know why this is happening? See below: FORM <form method="post" id="form"> <div class="form-group"> <label for="nome"...
asked by 04.08.2017 / 17:01
3
answers

Get value from all checked checkboxes

How do I get all checked-in checkbox values and switch to GET. $("#subcategoria").click(function(){ var checados = []; $.each($("input[name='subcategoria[]']:checked"), function(){ $.get("inc_...
asked by 03.08.2017 / 00:36