Questions tagged as 'jquery'

2
answers

Repeat header in print

I can not divulge the report I'm using, so I've taken a generic template on google to help me explain the question. Assuming my report is as follows: ThesameismountedviaHTMLonasystemthatworkswithbothC#andVB.Net.Myintentionisoneachprintpage...
asked by 13.05.2015 / 19:35
3
answers

Formatting problem when injecting date into attribute datetime

I need to assign the current date in a datetime field of a paragraph, for that I have implemented: ... var newDate = new Date(), date = newDate.getFullYear() + "-" + (newDate.getMonth() + 1) + "-" + newDate.getDate() + " " + newDate.ge...
asked by 23.02.2015 / 15:31
2
answers

Show / hide each element within a class with toggle (jquery)

I have a class .menu-departamento and inside it I have a h3 and a ul li , in which I'm putting a toogle effect. In the code below when I click on a h3 it displays all ul and you want it to display only...
asked by 19.01.2015 / 14:00
1
answer

How to use multiple conditions within an if

I have tried in many ways, grouping with () of all the ways that I imagined, creating a variable and calling it in the condition etc, but I can find where I am wrong. $(function() { $('#id1').change(function(){ if (($(this).v...
asked by 19.07.2015 / 07:46
2
answers

Create function that simulates typing

I need a function, or some plugin that simulates typing, that is to say that it has a cursor, and that it is typing and deleting words; One site I found by example was este. (The typing effect on the banner). But I could not find in...
asked by 26.12.2017 / 10:11
3
answers

A single script for N forms

I need to know what the correct way for when I submit a form a single script to resolve, the code below only works for your self to create a script for each form. How do I resolve this? Example: $("#meuform") ... $("#meuform2")...
asked by 04.06.2014 / 02:42
2
answers

Multiple objects in jquery selector

As a matter of organization and performance, I often use multiple selectors together to perform a jquery method. For example: $("#bola, #casa, #arvore").css("background-color", "blue"); This example works because the selector is a string....
asked by 26.06.2014 / 19:10
2
answers

Clone data insertion box with jQuery

I wanted to make js (jQuery) work with the interface below: I'musingtheCSSFoundationframeworktodevelopthisproject.However,IdonotknowhowtomakeacloneusingjQueryfromthiscombowheretheinputsare.ActuallyIwantthemomenttheuserclicksonitmoredynamicallyad...
asked by 11.09.2014 / 01:30
2
answers

Loop in function by calling itself

I need to create a purposeful loop to check if a variable has reached the desired value, the idea is to create a function that inside it will have a if , which verifies if cont == 4 in case 4 is the number of iterations previous to...
asked by 01.10.2015 / 16:21
1
answer

Ajax function to send list of items to a C # method in Asp.net

I have a list of items in an ASP.NET page defined as: <ul id="lstProdutos"> <li id="produto" value="1">Banana</li> <li id="produto" value="2">Maçã</li> <li id="produto" value="3">Melão</li>...
asked by 16.04.2014 / 23:27