Questions tagged as 'javascript'

2
answers

How to avoid error when variable is not declared

I have a function that defines onlytest after the first execution of another script, but at the first run it was not defined. How can I detect that it has not been set and give return; so the code stops? I've tried: if(!onlyte...
asked by 14.07.2015 / 18:12
1
answer

Submit form after user action

I have a form, and a list of actions that the user can choose, depending on the action that was chosen, the user should confirm the submission, leave a message or simply send the form. I have almost everything ready, what I can not get is whe...
asked by 12.09.2015 / 07:22
1
answer

Understand context statement given function javascript [duplicate]

I have this particular function declaration: datasetCSR = this.execECM(function () { var co = this.DatasetFactory.createConstraint("ibv", instance, instance, this.ConstraintType.MUST); return this.DatasetFactory.getDataset("csr", nul...
asked by 14.09.2015 / 15:26
1
answer

Sequence of videos in mp4

Hello everyone, I would like this code to be sequenced after a 1 video automatically go to the second someone can help me <!DOCTYPE html> <html> <head> <style type="text/css"> .MenuBox { -moz-border-radius:30px;...
asked by 17.06.2015 / 21:31
2
answers

tooltip always present

I have the following code: link What I'm trying to do is the message that always appears, that is, you do not have to hover over the message to appear, it's always there. Is it possible to do this? I'm using this toolkit: link     
asked by 18.06.2015 / 13:07
2
answers

Javascript does not get a clicked link with the same ID

I'm putting a script to copy the link to clipboard, using the ZeroClipboard plugin. The problem is that I have a list with multiple links that comes from MySQL . And in the list loop always comes the id "copy-link" in <...
asked by 19.06.2015 / 06:14
1
answer

way to change the size of each of the tags using tagcanvas.js

Hi, I would like to know if there is any way to change the size of each of the tags, I'm using tagcanvas.js and I can not change the size of these tags individually; the html is like this <!DOCTYPE html> <html> <head> <tit...
asked by 16.06.2015 / 23:45
1
answer

Problem installing Gulp

I'm trying to install Gulp on Ubuntu, but it only returns me error: root@gabriel-Aspire-E1-571:/var/www/aaa/projeto# npm install --save-dev gulp npm WARN package.json [email protected] No description npm WARN package.json [email protected] No reposito...
asked by 12.08.2015 / 22:58
1
answer

How to determine the number of edges of the radarchart?

I'm using RadarChart from Chart.js . I have this Fiddle working. Home Notice that in this example the graph is mounted dynamically according to the data entered. Home Well, but I would like to determine the amount of edges generated, regard...
asked by 13.08.2015 / 21:52
1
answer

filter results jQuery.getJSON

I'm doing a jQuery.getJSON on url link And if JSON returns: {"type":"notfound"} or {"type":"song_notfound","art":{"id":"3ade68b7ga05f0ea3","name":"William Bald\u00e9","url":"http:\/\/www.vagalume.com.br\/william-balde\/"}}...
asked by 29.07.2015 / 22:20