Questions tagged as 'jquery'

0
answers

Problem with Owl Carousel

The layout looks like this: However,whenIusethescriptcall:<linkrel="stylesheet" href="js/owl/owl.theme.css"> <link rel="stylesheet" href="js/owl/owl.carousel.css"> <script src="js/owl/owl.carousel.min.js"></script> &...
asked by 15.03.2017 / 22:10
0
answers

have to make the request only when there is change in the database? instead of checking every second

<script type="text/javascript"> function atualizarTarefas() { $("#header").load("<?=site_url('home/notificar/')?>"); } setInterval("atualizarTarefas()", 1000); </script>     
asked by 16.03.2017 / 03:17
2
answers

How to capture the value of the src attribute of an iframe?

I have to capture the value of an iframe attribute in pagina.html , from the parent page pai.html . I tried everything but I did not succeed. pai.html : <iframe id="meuframe" src="//www.site.com.br/fotos/pagina.html"><...
asked by 03.03.2017 / 14:21
1
answer

Why does not this function work in Mobile Browser?

I'm using the code below to search data in a json, and works perfectly in Chrome and Firefox, but in mobile browser it does not work, and simply does not return anything: function searchTitles(e){ var val = decodeURI(e); var data = Ob...
asked by 06.02.2017 / 12:12
0
answers

update character counter of an input

I have a page where you can add fields in which clicking on "create new field" opens a modal with a input with a character counter and two buttons, being able to add as many fields as you want. However, when I create the first one,...
asked by 06.02.2017 / 16:25
1
answer

Prevent calculation from being negative

Colleagues, How would I do to make the calculation of the cart not negative. See below: When I click the - button the quantity remains at 1, but the calculation continues to negative: ThecodeI'musingis://subtrairquantidade$('.value-...
asked by 17.03.2017 / 22:28
1
answer

Uploading files with PHP does not recognize

I'm trying to upload images with PHP and Ajax but the result says it's an undefined value Javascript code $('form[name="update-user"]').submit(function(){ form = $(this); $.ajax({ url: 'switch/painel.php',...
asked by 17.03.2017 / 23:09
1
answer

Uploading Multiple PHP Files jQuery

I would like to send multiple files via post using jQuery, I tried several codes and I could not, I would like you to help me. I have this form: HTML - index.html <div class="arquivo" style="display: none;"> <form name="for...
asked by 17.03.2017 / 13:30
0
answers

What is the best practices of Bootstrap and Jquery? [closed]

Good night, dear friends I know it works the same way, but what is the best way (practice)? Looking at performance and fast loading. Call the Bootstrap and Jquery files between the tags head or between body     
asked by 19.02.2017 / 00:31
1
answer

How to access data from a dynamic imput of a form with django?

I'm participating in a project where we're using django. I created a form with two initial fields and can add more dynamically using javascript. <div class="form-group"> <div class="panel-title"><b>Informe os Crit...
asked by 18.02.2017 / 20:22