Questions tagged as 'jquery'

4
answers

How to choose a convention for names of variables and functions?

I'm going through the second development company and in both it does not have an own convention to use in the declarations, in the codes I get functions declared as follows:    PHP and jQuery    function nome_pessoa(); function nomePessoa...
asked by 06.10.2017 / 17:18
3
answers

Execute functions without the Jquery click event

How do I run a particular function without having to wait for the user to click the button? For example, if input username is empty, add div and when it is not empty the div is destroyed, without any button, without cli...
asked by 19.07.2015 / 18:41
2
answers

how to use $ (this) + checked?

<input type="radio" name="teste1" value="SIM"> TESTE 1 <input type="radio" name="teste1" value="NÃO"> TESTE 2 $(document).ready(function(){ $("[name='teste1']").click(function () { var teste = $(this+":checked").val();...
asked by 28.10.2015 / 16:00
3
answers

Jquery ischecked does not work [closed]

I have the following checkbox: <input type="checkbox" name="responderam" id="responderam" value="1" onchange="Filtra()" /> Mostrar apenas quem respondeu And the function it calls will refresh the page by setting a flag function Fil...
asked by 02.08.2017 / 14:25
1
answer

How to show the value of the bank on a star rating?

I was able to do the star rating system, but I wanted the vote to be displayed on the screen or saved in the star so that it would be filled according to the votes. Could someone help me, here is my code: This is the page where the stars are:...
asked by 29.08.2015 / 16:46
8
answers

Do not allow saving image of a web page

I do not want the "save image as .." option when I right-click on an image in an HTML page. That is, it will be impossible to save the images from the site. How can I do this verification?     
asked by 06.02.2014 / 13:54
2
answers

How to change a string with jQuery?

I need to capture a string, grab a piece of it and swap this piece for another text. <img src="/kit_150x150-12por-150x150.png"> I need to get the piece 150x150.png from src and switch to 238x238.png with jQuery ....
asked by 23.04.2015 / 13:59
2
answers

How to make a form with date field? (DD / MM / YYYY)

I am a beginner in Kohana and need to make a form with a date field. My form is this: <?=form::open('controllerInscricao/index')?> <?php echo form::select('TURMA_codturma', $TURMA_codturma); ?> <br><br> <div>Matr...
asked by 01.02.2015 / 23:37
2
answers

Display one item at a time with jQuery

I created a menu to see the possibilities with jQuery animations. I wanted the jQuery to display every% of%% at a time, when I clicked the button, not all at the same time. I wanted a different delay in each LI . How do I? The code I...
asked by 31.10.2018 / 01:39
3
answers

Is it possible to use Jquery to animate Background-color?

Recently I created a JavaScript Script to do a color-changing loop I used the add class and remove class, but when I went to practice in jQuery this did not work. This is my code: $(".alpha").animate({"background-color":"#09f"}, 3000); I...
asked by 13.06.2018 / 07:17