Questions tagged as 'jquery'

0
answers

mousedown on select Firefox

At the time of click on a <div> the <select> should open. That way I can open <select> . $('.teste').click(function(){ var element = $('#select')[0]; var ev = new MouseEvent('mousedown');...
asked by 15.07.2016 / 14:07
1
answer

Stop request with Jquery when refreshing the page or clicking on a link

I'm using long polling with PHP + JQuery, when the user logs in the website opens a background connection to the server via Jquery like this: var req = $.post //(resto do codigo aqui). This connection is open for 20 seconds and then closed...
asked by 19.07.2016 / 20:41
0
answers

JavaScript PushState / PopState disables other scripts

I have this code on my site js / pushstate.js: $(document).ready(function() { var nav, conteudo, fetchAndInsert; //nav = $('div#navbar'); nav = $('.menu'); conteudo = $('#conteudo'); fetchAndInsert = function(href) { $.ajax({ url...
asked by 10.08.2016 / 15:35
1
answer

Check Input Size and display label according to expression

I have a function that checks if a field is less than 3 when giving focus (click) on input Email . In short: If CPF and RG is less than 3, it displays label[for="label-custom-field2"] and label[for="label-custom-field3...
asked by 08.08.2016 / 18:10
0
answers

Questions with carousel jssor

I'm using the merry-go-round for my page, follow the image Sofarsogood,theproblemiswhenIopenitonmycellphone,itgoesdownthecarousel,andIwantedittoplaydown,I'llsendhiscss <script>jQuery(document).ready(function($){varjssor_1_SlideoTransit...
asked by 02.08.2016 / 22:49
0
answers

How to solve stylus error in Select Option options that appears with error in Firefox

In Firefox version 48.0, it is giving error in the stylization in the options of the Select Option. Follow the code: <div class="buscaCodigo"> <div class="form"> <br /> <br /> <h2>Entre abaixo com o cód...
asked by 03.08.2016 / 13:40
2
answers

How to lock submission through an ajax request by a bind () button event

The ajax request, returns me "1" or "0". Every time I click the forward button, however, it is not blocking the submission. How do I validate the values, if I have a "0" answer, it should block the submission method: DDWFrontEnd = function() {...
asked by 17.06.2016 / 00:13
2
answers

Content is not shown after click

I made a li that when clicked, should show the content inside a div that is like visibility: hidden . As I'm calling JS. $(".buttonShowContentSinopse").click(function() { $(".showContentSinopse").show(); }); .showContentSi...
asked by 17.06.2016 / 17:49
0
answers

Bootstrap with navbar aligned cell phone

I have the following code defining a navbar with the bootstrap: <nav class="navbar navbar-default"> <div class="container"> <div class="col-xs-1 hidden-xs"> <div class="navbar-header"> <a href="#" class="pul...
asked by 16.06.2016 / 18:10
0
answers

remove details preview of krajee avatar upload?

I'm using the jquery krajee plugin to upload images, however I have a problem. I can not remove the zoom button from the image after uploading Thisistheconfigurationscriptcode:<!--jQuery--><scriptsrc="<?php echo base_url();?>a...
asked by 08.07.2016 / 16:40