Questions tagged as 'jquery'

1
answer

Change CSS in element that contains certain text

I have the following code, where my intent is that where in class .breadcrumb a the term "biblical" appears, this class has its style changed only where the resolution is less than 320px, but so far did not work. What could be wrong, guys...
asked by 18.04.2018 / 16:35
1
answer

Jqgrid put phone masks in column output in JQGRiD?

Code of the table that mounts JQGRID: var grid = $("#jqGrid").jqGrid({ url:'/Portaria/Agenda/Listar', mtype: 'GET', datatype: 'json', colModel: [ { label: 'Id', name: 'id', width: 50 }, { label: 'Nome', name: 'n...
asked by 18.04.2018 / 15:46
1
answer

Surveyjs get the title tag instead of the name in the result

I'm using the Surveyjs editor library, however in the editor the result is being saved using name as a reference to put in the result. Example: Survey Result: {"question1":"item1","question2":"item2"}. Example of Js...
asked by 19.04.2018 / 19:56
1
answer

Capture link and title, and move to a single modal

A list of 5 articles, with different links and titles, each with a Share link that opens a modal, where you have four buttons to share on social media. To be shared it is necessary to have the post link. I think it would be disastrous, putting...
asked by 21.03.2018 / 16:09
1
answer

Problem with my client using jquery

I have a very unusual and strange problem ... I am using the Jquery library, however, it is not being interpreted correctly, the problem is not in the code itself, ie when I do the same code without syntax error or semantics the code is not trig...
asked by 20.04.2018 / 19:20
1
answer

Add fields on the page as selected option from a drop-down menu select

I am creating a form and I want that according to the option selected in the menu a different html code is shown on the screen. I'm using jquery to add the new fields. But with each option selected the new fields are concatenated, that is, every...
asked by 07.05.2018 / 15:15
2
answers

How to send the src value of an img tag to the value of a text field?

How do I send the src value of an img tag to the value of a text field? <script> // Inicia o Clipboard no elemento "button" function teste() { alert("t"); var src = $("#imagem").attr("src"); alert(src);...
asked by 07.05.2018 / 13:26
1
answer

JQGrid call a function with a click on a cell passing the line id

Good morning, I need 2 help from you. First time with JQGrid. I need to add another column in the grid with an image that will call a modal by passing the value of the line ID. 2- I also need to put a function that will open the editing sc...
asked by 19.03.2018 / 13:38
2
answers

Max length in input type number html

I have an input type number <div class="form-group col-md-3"> <label class="lb">Valor total</label> <input type="number" min="0" id="idValorTotalProdutoP" ng-model="subTotalProduto" class="form-co...
asked by 18.03.2018 / 22:26
2
answers

Check if any input file has changed

My form has several inputs like this: <input type="file" name="imagem_file[]" class="form-control"> <button id="btnProdutoImagem" class="btn btn-info btn-block">Cadastrar</button> And my Jquery checks to see if the input...
asked by 10.03.2018 / 21:26