Questions tagged as 'javascript'

1
answer

How to insert Jquery using EmberJs

I'm building a web app with Ember.js (simple) and I'm trying to use some animation functions with Jquey, there's the code: require(['../js/bootstrap'], function () { require([ 'jquery', 'handlebars', 'embertemplatecompiler...
asked by 31.03.2015 / 18:41
2
answers

how to create txt with js? [closed]

And I have a JS that has a function that takes the name of the player, position, position, level, image, etc. I want to save this data in a dB, the user logs in with the account and accesses the data with a JS, to view the information. Can I...
asked by 06.04.2015 / 01:36
1
answer

Limit quantity of items in an Input by default total value

I have a variable with this value: var total = 10; And two input: <input type="text" name="foto-1"> <input type="text" name="foto-2">    I need the client to be hindered by a value in which the sum of each input is greater...
asked by 10.06.2015 / 21:53
2
answers

My js file is not loading

Studying Ajax with JQuery, in Mauricio Samy Silva's book is not working with me. I made a js file off and now I can not load it. What I did think is not wrong. I debugged the browser with F12 and I do not see any js error. I put several alerts a...
asked by 09.06.2015 / 16:30
1
answer

Checkbox that exchanges images in javascript

I need, in a project, an interaction consisting of 5 checkboxes, which when checked, change the src of images on the page. I already found a ready, actually: link What I want to do is create more checkboxes to change the source of other...
asked by 10.06.2015 / 22:21
1
answer

getJSON query

I am trying to query aax using getJSON, but it does not return the value. What am I doing wrong? <!doctype html> <html> <head> <meta charset="utf-8"> <title></title> <script src="http://ajax.googleapis.co...
asked by 12.05.2015 / 01:12
1
answer

List data in a drop down related to the result of another drop down

Personal wave I have no idea how to proceed in this case Summarizing accurate 2nd dropdown list data related to the result of the first In the case of the script below it shows the companies and the users belonging to them 1st Select: Lis...
asked by 13.05.2015 / 22:46
1
answer

Cube calculation with jquery

I need to calculate the width * height * length * quantity. The script is calculating only the fields that initial, those that are added according to the need are not included in the calculation. The first calculation is for each line: #...
asked by 13.05.2015 / 22:48
1
answer

how to get image placement using draggable

How can I get through an input (left and top) scaling of the image being moved with the draggable. The purpose of this question is to allow you to save in the Database using PHP and Mysql, the desirable positioning of the image. Below is p...
asked by 12.04.2015 / 22:13
1
answer

Doubt Insert Image with Jquery?

Friends, Following the examples posted, I made the adjustments: public ActionResult ThumbNail(int largura, int altura, string caminhofoto) { if (caminhofoto != "caminho" ) { WebImage webImagem = new W...
asked by 13.04.2015 / 21:36