Questions tagged as 'javascript'

1
answer

Simulate automatic typing [closed]

A practical example of a site you use on the home page: link In short, it is a self-completing phrase in many ways, creating the possibility of saying several things in one sentence. I wonder if there is a plugin to do this work on wordp...
asked by 18.09.2016 / 19:34
1
answer

Treat Javascript Postback

Opa, I have a page that runs a SetInterval of seconds in javascript, this page captures the data of the divs and sends via post, being that this data sent is not fixed, sometimes it can be sent 1 or more than one. In sending, I treat this...
asked by 12.08.2016 / 20:01
1
answer

Function does not execute without setTimeout

I'm having a problem executing a function when I click on icheck . In case, the function is only called if I give a setTimeout of 1 millisecond, less than that or without timeout the function is not executed. How can I do to...
asked by 06.07.2016 / 23:04
1
answer

how to block a jquery checkbox

I would like to know how do I block a checkbox as a bootstrap button since I have it and I make a simple limit check in 2 or only 2 checkbox can be selected. When I select the third checkbox it shows me my error messa...
asked by 12.06.2016 / 04:14
2
answers

Calculate date with JavaScript or otherwise, even in excel? [closed]

How to arrive at an end date from a start date multiplying by N weeks, not taking into account the last week of the year. I can even calculate the dates, but I can not deduct the last week.     
asked by 13.06.2016 / 02:34
1
answer

Validate text box so that it has 9 numbers and can only start with 9 or 2

Good afternoon, I needed to create a validation of a text box in which it is mandatory to be only numbers and that it must begin with 9 or 2 and also have 9 numbers. Someone gives me a light how to do? The form is this: <div class="fo...
asked by 26.07.2016 / 16:42
1
answer

Angularjs - multiple tabs in same browser

I'm using angularJS in my Node application. When I try to open another tab also with my application in the same browser (or open another instance of the same browser) I get this error: s:1 Uncaught SyntaxError: Unexpected token u in JSON at po...
asked by 06.07.2016 / 17:02
1
answer

How to get value from a variable in the controller with ajax (jquery)

I have to get a value from a variable inside a method in the controller in .net, the method is in the homeController and returns a json, so alright the code is running and returning the json perfectly but I have to get a value of a variable alre...
asked by 02.08.2016 / 19:40
1
answer

How to put two Google Charts on the same page

I am creating a web application in which it uses two graphics fed by the bank. I use google's api, google charts. However, only the first graphic appears while the other is blank. <html> <head> <script type="text/javas...
asked by 16.06.2016 / 04:35
1
answer

Play! Framework - How to load public files (js, css, img) only once?

Hello, I started using Play! Framework with little time AngularJS, and I'm having problems to use AngularJS services, therefore I'm a variable on a page and when I go to check this variable on another page the value is null. I noticed that th...
asked by 16.06.2016 / 21:30