Questions tagged as 'javascript'

2
answers

JSON loop with PHP

I have the following jSON { "nome": "Alisson", "nome": "Bruno", "nome": "Junior", "nome": "Nicolly", "nome": "José", "nome": "Greice", "idade": "20", "idade" : "21", "idade" : "29", "idade" : "14", "idade" : "11", "idade" : "20" } I want to...
asked by 27.07.2014 / 21:30
2
answers

td in a function

Is it possible to add a td / div / table / iframe within a function? For example: function Retorno(){ <td height="#" width="#" > <div id="#" width="#"> <table width="#"> <t...
asked by 30.06.2014 / 17:20
2
answers

Click button via pure javascript

I need to create some simple script where it looks for a class inside the page and whenever it finds such class (this is always a button) the button related to it should be clicked. Could you help me with some example of this in pure Javascri...
asked by 30.07.2014 / 04:20
5
answers

Is it possible to make a file upload system without using PHP?

I have to make a video upload system, at first, without using the "server side". I would like to know if you have how to do this without using php, using SQLLite or Local Storage. I already researched several sites and did not find much (and I'm...
asked by 28.07.2014 / 16:17
3
answers

Auto completing input with address

Is there any API that when typing the name of a city for example, will the suggestion appear as the name of the city below the form? Please do not send the Google Place Autocompleter, I need an API that will provide the city and state suggestion...
asked by 20.03.2014 / 01:23
2
answers

Calling function with onclick

I can not call a function using onclick, calling it straight from the html tag comes normal but if I call it non-obstructive way no chance I already read several docs I tried in ways and nothing anyone can give a light. document.getElementById...
asked by 31.03.2014 / 21:37
3
answers

Do not add values

I'm trying to add two values, for example: a = 400; b = 200; I try to sum by means of "a + b", however instead of jQuery returning "600" it returns me "400200". The actual code is this: var startField = $dialogContent.find("input[name...
asked by 05.10.2014 / 00:30
1
answer

Why is this script returning me an object?

I'm working with jQuery to register information in the database through Ajax and I'm not sure why this code is returning me an object type variable. The project I'm working on is being developed over a Admin Panel with the entire interfac...
asked by 15.11.2014 / 23:46
2
answers

Get file name in input file

I have an input, where when I click, I want you to enter the name of the file. I have the following code: HTML <div class="trabalheObs">Carregar Curr&iacute;culo</div> <input style="display:none" type="file" class="m...
asked by 07.11.2014 / 18:48
1
answer

Click on link highlight SVG

I'm learning how to deal with SVG, My question is the following, I have 10 balls in SVG and 10 links. My idea is to click on a link and highlight a ball by taking the highlight of the others.     
asked by 24.10.2014 / 21:12