Questions tagged as 'javascript'

2
answers

Jquery Check Value

I have a dynamic form with several hidden inputs and wanted to check by jquery if any one has a certain value in the value is possible?     
asked by 16.10.2015 / 11:12
2
answers

Show and hide program in JavaScript

My goal is to make a program that has a list, and each time the mouse goes over the name of that list, it shows a content of a div , but then using that code here, I created a vector for each list item but can not get it to show. Can anyon...
asked by 20.05.2015 / 14:10
3
answers

Return value SetInterval

How can I return a value from a setInterval? result = setInterval(function () { var cont = i++; return cont; }, 800);     
asked by 27.05.2016 / 11:11
1
answer

When clicking anywhere on the page open a new page and with a time limit?

How do I when the user clicks anywhere on my website to open a certain external site in a new tab and with cookies to limit the opening of the site determined by time?     
asked by 24.05.2016 / 21:58
2
answers

Limiting texts by putting ellipses at the end, using angularjs

I have a text that describes a certain product, this description will serve as a preview, the ellipsis marks that the text continues, I am using angular <p ng-bind-html="service.description | limitTo:150 "></p> This s...
asked by 02.03.2016 / 19:33
2
answers

Does PHP work within JavaScript?

<script language='Javascript'> function confirmacaoSair() { var resposta = confirm('".$_SESSION['nome'].", tem que certeza que quer sair?'); if (resposta == true) { unset({$_SESSION['nome']})...
asked by 01.12.2014 / 20:27
2
answers

Problem saving information in localstorage via js

html <div id="timer"> <span id="minutes"></span>:<span id="seconds"></span> </div> JS window.onload = function() { var access = localStorage.getItem('firstAccess'); if(a...
asked by 17.10.2017 / 18:34
3
answers

Conditionals for verification

I am creating a file js with a jquery . In this file I need to do a conditional or several conditionals that check a certain amount of numbers. If the variable x is one of the 1,3,5,6,7,9,10 numbers, you should display...
asked by 21.11.2014 / 13:57
2
answers

How to make a racing effect?

I need to put an effect on the cars so they move up to that point when loading the page. Is there any Jquery for this? I do not know if you have a name for this effect rs I also have to put this border in the cart, as is the example of the...
asked by 02.04.2015 / 15:18
2
answers

Separate script tag by semicolon

I have a variable that can store plain text and tags <script> and <img> , delimited by (';') . To separate information, I use the split(';') method. It works fine for texts and <img> , howeve...
asked by 21.03.2015 / 17:49