Questions tagged as 'jquery'

6
answers

How to change the text of the title element?

Follow the code below: $(document).ready(function() { $('#1ano_card_title').text('R$20,00'); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script><h2id="1ano_card_title" class="car...
asked by 14.02.2018 / 15:43
6
answers

How to change the background of rows in a table alternately? Supported by browsers

My table is created with a loop in PHP. Do I do this by PHP even adding a condition or has it any better? if ($nomSenha == 'xxxxxxxx') { echo '<table class="pesquisaClientes">'; echo '<tr>'; echo '<td class="id">Id</td...
asked by 12.12.2013 / 12:41
5
answers

Move text background

Personal I need to place and animate a degrade as background of a font with a written text. I need this gradient to be applied at the font (not behind the text) and move from left to right indefinitely. How do I do this with CSS or JQuery?...
asked by 14.04.2015 / 16:35
5
answers

Format Float value as currency using Jquery

I have a function that does the sum of values of a line, I would like to know if it is possible to put the value as currency like this: R$ 16,00 You're leaving this way R$ 16.00 But I would not want to use third-party library. My co...
asked by 06.12.2015 / 18:43
3
answers

Information on Mouseover in Photo

Does anyone know how to put a description in the photo, with a transparent black background? As with many blogs, an example is the Rihanna website . Something like a timeline or a blog with thumbnails in photos. Does anyone know how to make...
asked by 17.05.2015 / 04:01
3
answers

How to add +1 in a countable variable with each click?

Each time I click a button, I want to add +1 to a variable. For example: I have a count variable getting a value of 5, when I click a button I want the value 5 to change to 6 and so on, displaying in alert() . Is it possible?...
asked by 19.02.2014 / 23:09
1
answer

Layout with different colors in TextBox (Safari and Chrome)

Safari is fading the colors inside that are not @Html.ComboboxFor, how do I not to remain in the textbox? I'm using CSS and JQuery, follow the photo Select does not exist in Safari: @Html.DropDownListFor(m => m.CEP.IdCidade, (SelectLi...
asked by 27.11.2015 / 17:29
1
answer

Get autocomplete return and put on different inputs

I have the following script <script type="text/javascript"> $().ready(function() { $("#course").autocomplete("teste1.php", { width: 260, matchContains: true, selectFirst: false...
asked by 03.12.2015 / 17:44
2
answers

How to remove all classes from an element using jQuery?

Instead of removing all classes individually using the remove class: $ ("# div"). removeClass ('class') For each class an element can have, is there any function that can be called and remove all classes in an element? I need this in jQuer...
asked by 13.12.2017 / 16:34
3
answers

Execute action after 2 minutes without moving the mouse

How to create a function in jQuery that redirects the visitor to a page after it does not move the mouse for 2 minutes or more? Example: The user is on the products.php page and if the user is left standing with the mouse or he is on...
asked by 22.07.2014 / 00:44