Questions tagged as 'jquery'

2
answers

Onclick with Javascript denial

Today I have an onclick on the id #menu , whenever I click on #menu it does a certain action, I need to create an action that everything other than #menu does a certain action. How do I do that? Is there a: !ação in ja...
asked by 14.05.2016 / 17:47
2
answers

How to reload grid without having to check if it exists JS JQuery

The system was built with modal and it is possible that there is a modal there in the 2nd level that needs to update two grids below (one in the main screen and another in the modal in the 1st level), but not always this modal is called from the...
asked by 28.10.2016 / 14:37
2
answers

Change Text Color in Jquery

Expensive; I have an html page that brings three information from the Mysql Database ( HIGH, Medium and Low). I just wanted the word HIGH was in red, Medium in Orange and Low in Blue. I tried to do via PHP with Swicth Case, but without succe...
asked by 30.03.2017 / 21:47
2
answers

pause page and resume after user confirmation

I have the following structure in php: <?php // Verifica se cancela o cadastro if ((!empty($action)) and ($action == "cancelar")) { ?> <script>...
asked by 01.09.2016 / 14:10
3
answers

How to draw div width when minimizing screen - Bootstrap

I have the following code: <div class="col-md-1" style="margin-right: -15px; width:200px"> </div> But since I'm working with bootstrap I wanted to remove this width if my screen is smaller, so my div is not fixed size, does anyo...
asked by 09.11.2017 / 18:17
1
answer

Uncaught ReferenceError: $ is not defined in shopping cart

Why does the Uncaught ReferenceError: $ is not defined error occur in the code below? $(function funcao(){ $(document).on('keydown', '#busca', function(){ console.log('I\'m working'); }); }); HTML                      ...
asked by 28.12.2016 / 03:06
1
answer

put variable in jquery selector

I looked at other similar questions, but their answers did not help me because the selector I'm using is different. I want to get a tr in a tbody of a table , using the nth-child(n) selector but in n I want to put...
asked by 03.01.2017 / 19:47
1
answer

How to clear input? [duplicate]

NOTE: url and number types mainly but if you want to put others tb without problems) Preferably in pure Js! I've tried things like this.value ''; and they did not! NOTE 2: I've read Removing or clearing value of the input file? and...
asked by 29.12.2016 / 18:46
1
answer

Why are you giving "Uncaught ReferenceError: getSetorObj is not defined"?

You are saying that "getSetorObj" is not defined, but the method exists and is in the Map class. The error is at line 38 of the script. $(document).ready(function(){ var jogo = new Jogo(); jogo.init(); }); function Setor(X, Y){...
asked by 15.01.2016 / 18:40
3
answers

onchange Select does not work - jQuery

Hello everyone, I am doing onchange in the select tag but it is not working, I am using the JS Google plugin for cities and states, for example: JSFIDDLE: link     
asked by 28.12.2015 / 19:29