Questions tagged as 'jquery'

1
answer

Events click jquery on iOS

Good morning, I've been struggling with the jQuery and iOS click events. I have tried several solutions, but they do not work. The first one that I tried was to add the cursor type to "pointer" to the elements in which I have the events. But it...
asked by 18.01.2017 / 22:18
1
answer

Validate a text with jquery

I'm working with ASP.NET MVC 5, jquery 3.1 I have a form in which I have a control input, which I only need to allow me to enter only numbers. Jquery code <script> $('#NumeroDocumento').on('keypress', function (e) { if (!$.isNumer...
asked by 19.01.2017 / 20:09
1
answer

Create in an ASP.NET MVC project

I work in an ASP.NET MVC project, Entity Framework. What I'm trying to do is register a record from a partial popup view. In partial view I call it from the index in which I have a table with our code. HTML: I have implemented the popup at...
asked by 18.03.2017 / 13:45
2
answers

How to remove hash (#) from Url?

I generate a hash with this code but I can not remove it. $('#terror').on('click', function() { window.location.hash='/terror'; }); And I get this URL: http://localhost:8080/#/terror I want to remove it using this code: $('#cTod...
asked by 18.03.2017 / 20:25
1
answer

Remove styles by clicking on the X- (Remove this style estilSelectCateg)

It was already possible to insert div with jquery, now we can remove styles by clicking on the X and not with the full content From HTML <div id="cont-categoria" class="centFRH"> <div id="categoria">...
asked by 17.03.2017 / 17:30
1
answer

SyntaxError: unterminated string literal

I have a textarea that is populated with mysql data using .val () It turns out that when writing line breaks or spaces in that textarea, it returns the error SyntaxError: unterminated string literal. so I read here because I have...
asked by 03.02.2017 / 19:43
1
answer

Hide div except image with jquery

I have the following DIV: <div id="overlays" style="background-image: url(http://agar.io/img/background.png); position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 200; margin-top: -20px"> When playing the div disapp...
asked by 12.02.2017 / 17:50
2
answers

Fill a select from mysql with php

I need to show a select with a quantity of data from a table, and that on clicking I can load a value (the id ). I come from VB6 where it was quite easy, here I see that it has some more lap. For aesthetic reasons I got a cod...
asked by 16.01.2017 / 13:44
1
answer

Autocomplete does not work with jquery php mysql

This is the code I have: $(document).ready(function() { //Al escribr dentro del input con id="pieza" $('#pieza').keypress(function() { //Obtenemos el value del input var pieza = $(this).val(); var dataString = 'pieza...
asked by 17.01.2017 / 17:14
2
answers

Send data from a table in a modal to a php table using php and jquery

I have a bootstrap modal to which I load data from my database in mysql what I want it to do, is that by clicking on the add button I add the product of the modal row to a table in php in another page and when I gave it to another product, I add...
asked by 16.01.2017 / 01:09