Questions tagged as 'jquery'

1
answer

Display Image on the same window with Javascript

As I describe in the title, what I try to do is that when you click on the icon of an image or a button you can display it on the same screen, just like in gmail it is done when you open a png or jpg and that when you click closes this. I do...
asked by 15.09.2018 / 00:28
2
answers

How to validate so that there is no Na in a field?

I have the following function that is sent to call when I enter the page, but at that time I still do not have the variables full with values, since they load up to fill a few combos and reload the page. The first time you enter, the field...
asked by 12.09.2018 / 06:27
1
answer

Some idea of how to submit the button using javascript or jquery

Here I send the data but I have to press the button and I want to do it can also be done by pressing enter: <input type="text" name="fecha" id="fecha"> <input type="text" name="direccion" id="direccion"> <div id="enviar">Envi...
asked by 13.07.2018 / 04:56
2
answers

How to assign a HotKey with JQuery to a button

This is the code of my button in HTML with CSS I would like to use JS to assign it instead of clicking for example a F7 or F8 or any combination of keys with jQuery . <div class="form-group"> <button type="submit" class="bt...
asked by 16.07.2018 / 23:30
1
answer

Why the KeyCode does not work in Chrome

The function keyCode does not work in Chrome but Firefox works very well, by pressing the Tab in the input calcular you should trigger the function. here my code: $("#calcular").keypress(function(event) { var keycod...
asked by 25.07.2018 / 17:52
1
answer

Modify css of element within iframe

I have an iframe with id="myframe" that has another source file from the same server <iframe id="myframe" src="referencia.php"> </iframe> In reference.php I have a div with id="box" that I want that when it opens directly the p...
asked by 10.03.2018 / 18:14
1
answer

Insert a label to all the labels that have a class in specific

I want to insert a li tag into all ul that have the class or id 'father' . And that ends something like this: <ul id='padre'> <li id='hijo'></li> <li id='hijo'></li> </ul> <ul id='padre'&g...
asked by 31.10.2018 / 17:00
3
answers

delete tr from a table and keep the order of the IDs

I wanted to know if there is a way to delete a row from a table using jquery where the ids are ordered correlatively keeping the order. This is, for example: <tr id=1> <tr id=2> <tr id=3> If I delete row 2 it should look l...
asked by 18.01.2018 / 15:55
2
answers

Collect id from a file with right click

I'm designing a web app, a cloud. When I upload a file to the database of the one ID, I show the file in question by screen. Up here without problems, the problem comes to me when I want to perform X action on that file. I have disabled the righ...
asked by 10.04.2018 / 16:28
2
answers

Consuming a service from the web api in mvc?

I am trying to consume web service api via httpwebrequest and razor to show it in mvc view. in the mvc controller I have this code in which I want to consume the api using EntradaElectronicaAlmacenApi.Services; using System.IO; using System.Ne...
asked by 27.03.2018 / 03:43