Questions tagged as 'jquery'

1
answer

jQuery Window Plugin gives "$ is not defined" error

I have the following problem, I found a plugin, jQuery Window , which opens windows with button to minimize, maximize, etc., and opens pages within that window, but I'm not getting it to work. I would like to use example number 6, method 2...
asked by 20.05.2014 / 19:05
3
answers

How to collapse the height of an element with jQuery

Oops, I'm not able to collapse the height of an object in the document. I have a slider, which works with ul > li (maybe it's relevant), and inside a <li> slide, I'm putting via javascript and c # three divs, each with...
asked by 11.06.2014 / 21:40
1
answer

Input [number] accept only numbers in Firefox

How do I make the input [number] field accept only numbers in Firefox? In Chrome, Opera and Edge works perfectly, but in Firefox the [number] field accepts letters and spaces. <inputtype="number" name="EstoqueProd[]" class="form-control"...
asked by 01.11.2017 / 15:27
2
answers

Clone select jquery / javascript

I'm a beginner, and I'm having trouble running this code I used from another topic from here ( Add and Remove fields with Javascript ). Here he did not run, but in my localhost he even clones the requested snippet but does not just show sele...
asked by 21.09.2017 / 22:11
1
answer

How to paint multiple page elements by clicking and dragging the mouse?

Essentially my program creates a "screen" of "pixels" where the divs are the pixels. It randomly generates the colors in the image and the user can use a palette that is underneath to change, as if it were to paint. However, I have a dilem...
asked by 26.10.2018 / 21:03
2
answers

Print Checkbox with JQuery

Good morning I created a shopping list with a checkbox and would like to print only the selected checklists. follow the codes below: html code <div class="cont-list carnes"> <h3 class="text-center"><span>Carnes /...
asked by 05.10.2018 / 15:47
1
answer

How do you get the mouse position relative to the page?

I have a menu that opens when I right-click on the table. The problem is that I could not get the mouse position when the page has scroll. I noticed you're getting Y X based on my monitor, and I need to get it based on the size of the page...
asked by 15.04.2016 / 21:09
1
answer

assign variable with id dynamically via jquery

Hello What I need is the following: I have a form and in it I mount inputs whose values are the data of a table that I walk in a loop, I assign an id for each of these imputs with the field name and the number of an autoimcrement field in that t...
asked by 01.05.2016 / 19:28
1
answer

Create a jQuery instance from an array

I have the following array: var elementos = [$("#elemento1"), $("#elemento2"), $("#elemento3")] I need to create a function that "converts" this array into a jQuery instance, so I can use jQuery functions at all at the same time....
asked by 26.06.2016 / 21:20
1
answer

How to hide a modal window after a while?

Colleagues. I do not know if I was clear in my doubt, but I would like the Bootstrap mode to disappear automatically after deletion confirmation. For example: the user will delete a product, the message "Product successfully deleted" appears....
asked by 19.06.2016 / 22:42