Questions tagged as 'javascript'

1
answer

How to show the value of the jQuery UI Slider in a text input and update the Slider if a value is entered in the text input?

The result I need to achieve using the jQuery UI Slider seems simple. The Slider will be used to define the age of the user who would submit the form, with a minimum value of 18 (years) and a maximum of 100 (years) ... The intended purpose can b...
asked by 05.03.2014 / 22:39
1
answer

Background panning after keydown effect

Something is wrong with the method I'm using to re-create the effect of JSFiddle link I want the background to move by 10 pixels in the direction of the keydown, and to keep moving in a loop as the key is pressed or held again. I know the c...
asked by 06.03.2014 / 19:56
1
answer

How to send emails using JavaScript?

Like any good Content Management System (CMS), it's a trivial contact page. In mine it's no different. However, I wanted to do this without having to use some other language and / or technology, except JavaScript . My goal is to send emails...
asked by 10.03.2014 / 03:38
1
answer

Contraindications in IIFE's

Is there any contraindication to using IIFE's within the context of an object? For example, in the properties begin and created I make the function auto-execute to set the properties at the moment of instantiation of the variabl...
asked by 31.03.2015 / 15:56
1
answer

Using ng-Options as I do filter that interprets exactly the reported value

I'll go through an example just for testing: In this example when I put filter:chart.id='1' , in addition it returns me the id 1 it returns me the id 10, how would I make it return only the id = 1? function TodoCtrl($scope) {...
asked by 31.03.2015 / 20:28
2
answers

Retrieving jQuery instance within an iframe

I need to retrieve the instance of jQuery embedded in my iframe, as we know there are several ways to retrieve the jQuery instance, with references $ , jQuery , window["$"] , window["jQuery"] . The problem is that when...
asked by 30.03.2015 / 21:53
1
answer

indexOf with regular expression using variable [duplicate]

I use indexOf to check if a string contains a given text. But this is case sensitive and also sensitive to accents. Would there be any way for me to find these records in the case of entering any of the following in the search: joao J...
asked by 26.03.2015 / 20:47
2
answers

move text to a box

Well, I want to pass the values I put in <input> to "box" and also have the option to take it out. Example: <table border="1" align="center" height="180"> <tr> <td> <font face="arial"...
asked by 07.08.2014 / 16:24
1
answer

Cancel event queue in Javascript / Jquery

So, I have a loop that will awaken some 10 functions that are AJAX requests, in functions, which encompasses AJAX requests is a setTimeout() , what happens is that the loop is executed on time, and every time 10 seconds (as I have determine...
asked by 26.03.2015 / 19:46
3
answers

Submit login and password!

I have a simple form to login for users with login and password ... I'm not able to give submit via JQuery, look at the code: <div id="opcoes2"> <div id="fazerlogin2"> <form name="fazerloginform" id="fazerloginform" action="faze...
asked by 10.08.2014 / 21:28