Questions tagged as 'jquery'

1
answer

How to show only the selected div [duplicate]

I have a list with 3 elements and 3 divs. <ul> <li>Todos</li> <li>elemento 1</li> <li>elemento 2</li> <li>elemento 3</li> </ul> <div id="1">elemento 1</div...
asked by 12.01.2015 / 15:07
1
answer

Referencing DOM element in Jquery in another way

Hello, look at these lines of code: <div id="divn4" align="center"><i style="">Nunca, nunca enviamos span.</i></div> So, if I wanted to reference the italic there, to apply some function in it, without having to put...
asked by 22.12.2014 / 01:20
1
answer

How to check if a link still exists and if it can open in an iframe

I use iframe in my project to open certain links from different sites! These links are stored in a database, but they make a future progression that same links can be changed or deleted, soon they cease to exist, so I would like to know if you c...
asked by 05.01.2015 / 03:25
1
answer

View Selected Image jQuery

I am doing my TCC and it will be about image processing. I'm having difficulty with the web part, and was wondering how do I load the selected image in the input file to appear on the page. Here's my code: <script> $(document).ready(func...
asked by 14.08.2014 / 16:53
2
answers

jQuery Date "Invalid Date"

I have a countdown function that works regularly on Google Chrome var now = new Date(); var countTo = new Date("9 July 2015 14:30:00:00"); alert(countTo); $('.timer').countdown(countTo, function(event) { var $this = $(this); switch(e...
asked by 06.08.2014 / 16:36
3
answers

Simple click on Jquery does not work

I want when I click on span to ul to appear. The correct thing is to use parent , right? $(".produtosMenu li span").click(function() { $(".produtosSubmenu").parent().addClass("dpb"); }); .produtosMenu li { box-sizi...
asked by 09.02.2015 / 17:27
1
answer

Problem with Uppercase and Lowercase in Angularjs

Personal follow the example of a script on stackoverflow.com as follows the link below: [link] I happen to be having problems with words that are capitalized eg a word that is "Protocol" and I type "protocol", the filter does not find it....
asked by 31.01.2015 / 23:35
1
answer

$ .inArray () return not expected

Array cookiesplit contain exactly this content: _utma=246244038.1458519878.1422527074.1423248864.1423253252.8, __utmz=246244038.1422527074.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none), _ga=GA1.2.1458519878.1422527074, newsletter=ok...
asked by 07.02.2015 / 03:39
1
answer

Change option from select to URL

I have a select with five option . I want it to check the link that the user is and according to that link, he selects an option. My HTML: <select name="segmento" id="segmento" class="basic"> <option value=""&...
asked by 05.02.2015 / 13:53
1
answer

Problem with effect on multiple LIs

I have 4 li , 2 of them are appearing on the site, and another two will appear only when I click on any of the other two, for you to understand better, follow my code: $(".membrosClick").click(function() { $(".listagemEsc").show...
asked by 04.02.2015 / 23:06