Questions tagged as 'jquery'

1
answer

How to capture the value of the current attribute with jQuery?

I have the following form in html: <form>First name: <br> <input type="text" name="nome"> <br>Last name: <br> <input type="text" name="sobrenome"> </form> And the jQuery code:   ...
asked by 17.11.2015 / 15:00
2
answers

Simulate a Click event without clicking using jQuery

I have a project here with a problem, I'm close to solving but I need a hand from you! At Home, we have a button called "Toppings" that when clicked should be taken to the Projects page. On this page, we have a Portfolio-Filter Plugin, whe...
asked by 14.01.2015 / 22:52
2
answers

If condition in variable

I have a variable named LastClass , it can have the value of headerSortDown or headerSortUp . I'm rescuing it from an ordered column. I want to transfer this variable to <a href> but wanted to change the text of it. For ex...
asked by 19.01.2015 / 19:35
1
answer

Doubt about "parent" in Jquery [closed]

I want when I click the class atendimento a class horarios stay with display:block Follow my HTML: <div class="margin-top-30 pai"> <ul class="horarios"> <li class="horariosFechar">x<...
asked by 14.11.2014 / 19:43
2
answers

Creating input automatically limiting in 5

I am creating two input fields when I click the plus (+) button, I can already generate the two inputs, but I need to limit the input, I only need 5 input, I tried with while and I did not succeed, Thank you / creates more additive value fie...
asked by 06.11.2014 / 16:55
1
answer

Variable JavaScript undefined

I'm trying to pass a value through a input type hidden of the HTML generated in PHP to JavaScript, however this variable in JavaScript is like Undefined. What can it be? PHP <form name='form5' method='post'> <input type='hid...
asked by 02.11.2014 / 23:49
1
answer

Is there a way to get the value of a select by PHP?

I'm trying to get the id of a product through a jQuery function, however I need to pass this variable to php, and since this snippet of PHP code is already within <script></script> it does not work the way I did below ,...
asked by 08.11.2014 / 00:06
1
answer

How to use jsPDF addHTML?

I've been trying to use jsPDF to create a pdf for a specific page in a project. However, all the examples I've looked at that include this function (addHTML) do not work. In the developer examples ( link ) there is nothing about addHTML left ove...
asked by 14.03.2015 / 16:47
2
answers

Get value of a TextBox on each line inside the table with JQuery

I have the code below that handle should get the values of a TexBox inside a table that is generated dynamically by another JQuery function. The problem is that this code always brings the TextBox value of the first line. $('#tbl').on('focusou...
asked by 24.10.2014 / 20:10
2
answers

How to call a Java method using jQuery?

I need to call a method that adds a ArrayList to what the user reported in dynamically generated tags when they click "add". Any suggestion? I was trying to do it using AJAX, but I have not been successful yet. The value entered by the...
asked by 16.10.2014 / 20:34