Questions tagged as 'javascript'

1
answer

Refresh in database

This is the following, I have a map where are generated several points, thus mapping a route ... But now I need to edit these points by the map itself, like I have to do in a way that I move the markers and automatically record in the database...
asked by 09.07.2014 / 15:31
1
answer

Svg is not rendered, the browser downloads the file in iis

When you access the site containing an svg image, it does not appear but the browser downloads the image and the following message appears in the debug console: Resource interpreted as Document but transferred with MIME type application / oc...
asked by 10.07.2014 / 15:11
1
answer

How to set 'href' on a link in KnockoutJS?

I'm starting with KnockoutJS and would like to know if it has a way to attach a link received by AJAX / JSON to a <a href="meu link aqui">Meu link</a> tag. HTML: <div data-bind="text: url"></div> <hr/>...
asked by 15.07.2014 / 16:12
1
answer

I can not access a site served by the Grunt server from another computer on the LAN

I'm trying to access my Grunt-served development environment and the site just does not open. It is as if it did not exist. Among other features I'm using livereload , jshint and karma but I think the problem is not related t...
asked by 27.05.2014 / 02:32
1
answer

How to change URL value, with the information retained in the Select / Option

I use this because I'm developing an E-Commercer system, but the client wants the products to be in ComboBox with Select. Until then everything is correct, my difficulty is to make the change to the URL, according to the 'product' selected in...
asked by 12.05.2014 / 15:29
1
answer

Do .append () before .load ()

I'm using .load() to load content (partial) from controller of my application. What I wanted to do before .load was to add code html while loading a partial. For this I tried to .append before .load :...
asked by 06.05.2014 / 12:40
1
answer

Vertical bars valued with flot.js

Hello. I use flot.js to plot a "Stacked Bars" chart example but I wanted to insert the values of the bars "inside" the bar, not simply the tooltip. Does anyone know how to do it?     
asked by 12.03.2014 / 05:04
1
answer

Javascript Builder for DrawImage Canvas Function

I need to draw several images on various canvas, so I would like to do a generic function that would allow me to pass the arguments to draw the positioned images. I thought of the following generic function: var drawIt = new function(Canv...
asked by 03.03.2014 / 23:26
1
answer

array in javascript that communicates in php

I need to create a array in javascript tag that is submitted your information to a page php . How can I do this? Next, I had a php that I uploaded, repeated data from the bank. So to improve her performance, I've created a scri...
asked by 05.03.2014 / 15:12
1
answer

Acquiring coordinates in Javascript with the help of the CamanJs library

I'm here creating an image editor using Javascript with the CamanJs library and the HTML5 canvas element, but I'm not able to do it draw a box over my image (it disappears as it begins to draw); <canvas id="cavas-id"></canvas>...
asked by 10.04.2014 / 06:58