Questions tagged as 'jquery'

1
answer

Limit tags in bootstrap-tagsinput v0.8.0

I need to create a field where you can put a certain number of tags in an input form. I'm using the bootstrap-tagsinput v0.8.0 plugin of jquery, I managed to make it work, but it does not limit the number of words to be typed, I could do th...
asked by 18.05.2018 / 21:15
1
answer

problem of event blur with submit button

Good afternoon, I have a form, it has a text field that triggers the event .blur that takes the name entered and returns an id with ajax, takes the id saved in another input hidden, the problem is that the event only blur is triggered if I click...
asked by 11.04.2018 / 21:13
2
answers

How to add two li in one ul dynamically with jQuery?

html: <ul> <li>1</li> <li>2</li> Adicionar aqui <li>5</li> </ul> I need to add two li where it says "Add here". Does anyone know how to do this using jQuery?     
asked by 06.04.2018 / 23:00
2
answers

JQuery - Identify automatic text

I'm using JQuery to identify when the text box is text in the text box, like this: CSS: .inputtext { border: 1px solid lightgrey; margin: 0; margin-top: 11pt; width: 100%; } .inputtext:focus { border: 1px solid gree...
asked by 08.04.2018 / 17:04
1
answer

Inserting HTML elements inside another HTML Generated with Jquery in the same function

In my next code below I would like to insert the data coming from the ajax request, along with the append () HTML only in elements whose input hidden ids are equal to item.id (of objItens ). But all the ways I figured out did not wo...
asked by 12.04.2018 / 15:47
1
answer

Separate Data from Multiple Forms with FormData

Would you like to submit some forms at the same time with FormData ? For example, each product will have sizes and images. I would like to separate each product in an array and send it to the PHP page at the same time, so I can go through th...
asked by 09.04.2018 / 15:05
2
answers

jQuery bring value from table Mysql

I am putting together a list of music lists for a karaoke site. It works like this: Search for pre-recorded music Get this input song and insert it into a li list I have the following: <input id="musica" type="text"> <button typ...
asked by 09.04.2018 / 23:17
1
answer

Select2 with ajax not returning data

I'm trying to make an ajax query to an api to dynamically create a select2. The api is returning data normally, but only the "No results found" message appears in the select. HTML <select name='produtos[]' multiple="multiple" id="selP...
asked by 05.04.2018 / 11:17
2
answers

Page reloading when using .click Jquery

I have a view that when clicking a button opens a modal and clicking the modal button inserts a row into a table and is working correctly. In this included line it has a <a class="btn-remove-row" href=""><i class="mdi mdi-close-circl...
asked by 05.04.2018 / 14:55
1
answer

Carousel with different display duration for each item

How can I make a carousel with an element, each element having a different display duration? Example: One (element) of 5 seconds; another 8 seconds. I've been able to do with Slick of jQuery , but I can not stipulate how long each elemen...
asked by 27.04.2018 / 05:25