Questions tagged as 'javascript'

1
answer

Help in the focus event, does not want to work

Textbox focus event does not work, x value is correct, but component does not change its value, any hint, please. $(document).ready(function () { $('#txtSchool').textbox('textbox').bind('keypress focus blur', function (e) {...
asked by 08.02.2016 / 08:04
1
answer

PHP and Highcharts, doubts list series

I made a query with php and I'm iterating with my array using Foreach to set it to Highcharts values as follows: series: [<?php $i =0; foreach($result as $rs) { ?>{ name: '<?php echo $rs['ConteudoNo...
asked by 24.11.2015 / 19:20
2
answers

Minimization Sass css / js

I'm looking for a software for windows, which does the minification of js / css files in saas, I currently only know codekit, but it's for mac.     
asked by 30.11.2015 / 17:38
1
answer

Load table from view with JSON object

I have the following code in my controller : public JsonResult List(string nome){ IList<ClienteDto> clientes = string.IsNullOrEmpty(nome) ? _repositoryCliente.Get() : _repositoryCliente.GetByName(nome); var mo...
asked by 26.11.2015 / 17:56
2
answers

Why comparison using javascript does not work?

What I want to do: Algorithm that generates field change logs on the front end. Problem: Some of the code I compare to the old value with the new value: if( value =! anterior ){ elemento.val( value ).at...
asked by 26.11.2015 / 18:37
1
answer

How to do video-changing animation with mouse click

I have a question, I do not even know how to search for what I want. The idea is to click on the image of Video 1 and the Video and Title change without leaving the page, so pro 2 and 3. I took a beating in some codes but this actually do not...
asked by 24.11.2015 / 08:07
1
answer

How to write data in a one-to-many table?

I have a question that still persists after doing some searches. It is as follows, assuming I have a form, where I register multiple emails for a single user, how do I record these multiple emails in their table? Here are the examples: (if y...
asked by 10.11.2015 / 13:35
1
answer

Specific time for day of the week in datetimepicker

I have a specific form of datetimepicker, working cool, however, I need every day of the week to have a different time, for example, on Sunday there are 2 available times, the second 3 times, the other another time on Tuesday, how can I do that?...
asked by 30.10.2015 / 12:51
2
answers

Uncaught ReferenceError: function is not defined

When I call a function, it gives:    Uncaught ReferenceError: function is not defined JS: function __startGame (__nome, __pronom) { var canvasGame = document.getElementById("__startGame"); var secondEtap = document.getElementById("scndE...
asked by 25.10.2015 / 04:43
1
answer

Facebook Like Button on a Dynamically Changed Modal

I have an application using the Facebook JavaScript SDK, there is a simple modal that has its content dynamically created. It's important to note that the code is working properly, except for the Like button on facebook. Modal part in HTML co...
asked by 26.10.2015 / 00:32