Questions tagged as 'jquery'

1
answer

Applying Jquery mask in value and not input

Hello, I have the following phone and cell values respectively: Phone: 1111111111 Cellphone: 11111111111 I already have the value in the database, I would like to present these values formatted with the following masks: Phone = (11) 111...
asked by 25.07.2017 / 23:10
1
answer

Uncaught TypeError: $ (...) .Attr is not a function [closed]

Why does not it work? $('#chatEnvia').click(function() { if ($("#chatEscrita").val() !== "") { $.post("inc_chatEnvia.php", { acesso: "ok", msg: $("#chatEscrita").val(), de: $("#de").val(), para: $("#para").val()...
asked by 26.07.2017 / 15:39
1
answer

effect page current css and jquery? [closed]

I have a menu like this:    | HOME | NEWS | ABOUT | OTHERS | This menu has background white , but I want to do the following, if I'm on the news page I want background to be blue , just like this wp theme ?     
asked by 27.07.2017 / 00:25
2
answers

Problem with jQuery fadeOut!

I'm trying to make a PRELOADER that will appear before loading the page. The problem is that even after the page is loaded it does not disappear. I have the following code HTML: <div id="preloader"></div> CSS: #preloader{ posi...
asked by 26.07.2017 / 00:06
1
answer

Generate values dynamically in a table

I am listing the number of devices saved in my system in a table, but they will not always have saved equipment, I can have an empty table, or im incomplete. What I need is to list the lists in that table. My table can have 5 or 10 values, ie al...
asked by 26.07.2017 / 22:06
2
answers

How to Reset Select2 and Multiselect Fields of the Form

I have a registration form where I reset the fields when entering a record with the following: document.getElementById(id).reset(); //Aqui passo o id do formulário The problem is that I now have a select2 multiselect that are not being...
asked by 06.10.2016 / 22:47
2
answers

How to create a menu that has an effect with jquery

insert the image description here I would like to know how to create a menu with jquery that when clicked opens a div like in the above example of Twitter.     
asked by 19.07.2016 / 21:05
1
answer

do a checkbox validation per row of a table

I have a page with a table where each row has 3 checkboxes and each column has 11 rows with 3 checkboxes, I needed to do a validation where at least one checkbox of 3 of each row is checked, and if on a row there are 3 checkbox unchecked after a...
asked by 22.07.2016 / 03:32
1
answer

Return value when $ .getJSON finishes

I have a directory with subdirectories, and the code checks if these subdirectories are valid by querying the settings.json of them, if it has (which is required to be valid), however $.getJSON does not work by returning the conten...
asked by 23.07.2016 / 04:28
2
answers

How to trigger / stop via jquery an animation in css (which is being triggered by css hover)

link Follow the example above that I created, from an animation hover css-driven link . But the animation only works if the mouse is on top of the element. I would like to start this animation via jQuery (without hovering) to get mor...
asked by 19.07.2016 / 22:02