Questions tagged as 'jquery'

2
answers

How to block certain keys in an input using Javascript?

I have a function in javascript where I only allow numbers, commas (,) and hyphens (-) in an input. The problem is that I can type as many commas (,) and hyphens (-) as I want. I would like to know how I can only allow one comma or less. M...
asked by 22.02.2016 / 18:46
2
answers

How to activate an event from a class change

I have the following problem, I made navigation arrows for some elements and depending on the active element, I need to change the CSS of another element. In the example below I would need to change, for example, the background of the body to...
asked by 02.01.2017 / 15:35
1
answer

How to delete a term entered a form using jQuery?

The code below is part of a function that uses a search term in a text field to extract images from the Flickr site. After entering the word to search, it inserts the text below the field, just to show that it is looking for it, but the problem...
asked by 20.11.2015 / 00:35
1
answer

Feed Hidden Field via JQuery

How do I send a value to a Hidden field via Jquery? I need to send an array position to it.     
asked by 27.10.2017 / 18:02
1
answer

remove background from google chart

Colleagues. I'm using Google Chart in a project, but when I install it in this project, it overlaps the div where it is. How would I make the Chart background transparent?     
asked by 31.01.2017 / 18:53
1
answer

jquery Intellisense does not work in VS2015 Community

I can not make it work at all. My _references.js /// <autosync enabled="true" /> /// <reference path="bootstrap.min.js" /> /// <reference path="jquery.mask.min.js" /> /// <reference path="jquery.validate.min.js"...
asked by 02.02.2017 / 22:08
2
answers

Problem with access to undefined properties

I have a variable that looks for input and from this it works by getting information from it. The problem that arises to me is that when the input is not there, the script for saying that it can not access properties of something und...
asked by 28.01.2017 / 15:06
1
answer

Execute function if the input contains certain text

$(function() { if ($fa.ismod = true) { if (document.getElementById("input#message").value = "/msg") { alert('tudo okay'); } } }); This code should alert if the input # message contains the / msg text but it...
asked by 18.11.2015 / 00:48
2
answers

Check data according to the information ready

I would like to make this form check the following data by clicking "Confirm" and if any of them is correct it will go to the next page. MOCK: $scope.cliente = [{ nome: "nomeedit", senha: "senhaedit", email: "nomeedit@senh...
asked by 09.10.2015 / 17:10
2
answers

Adding text box and saving to the bank. (with C #, entityframework 6.1.3)

I'm doing a project in Visual Studio 2013, with EntityFramework version 6.1.3, MVC 4.5.0.0 and using ViewModel . I'm programming a page called payment condition. The creation page will have a text field nome , 2 radiobuttons : "t...
asked by 21.09.2015 / 16:04