Questions tagged as 'javascript'

1
answer

What is the correct way to consume BLOBs via JAVASCRIPTS, HTML5, etc?

I'm using Google App Engine's BLOBSTORE. I already have some images saved on the server now I would like to consume them via browser (HTML5, JAVASCRIPT etc ...) It turns out that I have only the link that apparently is not of the image itself, a...
asked by 01.07.2016 / 04:19
1
answer

Problem with Facebook login button

I'm including the login button with facebook on my site, I'm using the SDK made available to them (in java script). Everything happens normally, clicking the button requires user authorization, but when it confirms it, it retries to the home pag...
asked by 13.06.2016 / 01:21
1
answer

Javascript function with NaN error

This function is returning error: NaN, to convert back to text. function floatToMoneyText(value) { var text = (value < 1 ? "0" : " ") + Math.floor(value * 100); text = "R$ " + text; return text.substr(0,...
asked by 08.06.2016 / 04:03
1
answer

Cumulative counter in javascript

An infinite and cumulative counter is possible where you can determine how long it will take, for example: Every 1 minute the number goes up, 3.001, 3.002, 3.003, and so on. And tb it can not be restarted with every refresh. I'm currently...
asked by 05.06.2016 / 22:43
1
answer

How to insert title to a google Chart API Table Chart

In the Google Chart documentation, you can insert titles for a specific chart. But for Table Chart does not work. Would anyone have an idea how to pass to the component the title display information? Below is an example for graphics:...
asked by 06.06.2016 / 15:51
1
answer

Jquery Validate does not work with extension type - File Input

Follow the code: $(document).ready(function () { $("#myform").validate({ ignore: ":hidden", rules: { images: { required: true, extension: "jpg"}, messages: {...
asked by 18.01.2017 / 21:57
2
answers

SQL query returning null value

SQL Fiddle DB Simulation: link JavaScript: // Auto-salvar $(function () { $.post("actions/autosalvar.php", function (data) { console.log(data); $("#cliente").val(data.cliente); }, "json");...
asked by 24.01.2017 / 19:11
2
answers

Assign input to variable [closed]

I'm making a simple submission form. Basically: The user enters the value to be drawn, fills the data and clicking the confirm button, the result is displayed on the screen. The problem is that I can not create this send function, so that the...
asked by 19.01.2017 / 13:47
1
answer

Access javascript object in html form

Hello, I'm facing a difficulty with my javascript code, as I can not imagine a way in which I can access the constructor functions of my JavaScrip object in the HTML form. I would like to know if there is a way to do this that I want. B...
asked by 21.05.2016 / 16:20
1
answer

Codeigniter - Dynamic form

Alright? Well .. I'm a beginner in the world of Web Programming and I'm trying to develop a codeigniter system. could you help me? I'm trying to make a dynamic form in which I have a select that has the months of the year .. and I would like it...
asked by 22.05.2016 / 04:17