Questions tagged as 'onkeypress'

3
answers

Detect enter key in text field

I would like that when entering a text field, it will detect the press of the enter key to be able to execute a function. This is the field: <input type="text" id = "txtConvBusFch" class="form-control datepicker" placeholder="Desde Fecha...
asked by 24.05.2018 / 10:39
1
answer

onkeyup vs onkeypress - Event pressing Space JavaScript key

onkeyup to check when we lift the key, instead onkeypress values the data when the key is pressed. The problem I have is that my functionality works with onkeyup but with onkeypress does not work. I explain. I h...
asked by 27.12.2017 / 22:41
0
answers

How to automate an explorer pop-up window

At the moment I automate with selenium (page object) a web page that does not allow me to eliminate these pop-up windows for the moment I control this action in the following way: try { driver.Keyboard.PressKey(Keys.Enter); } catch { } bu...
asked by 17.12.2018 / 16:57
1
answer

Send a 'TAB' when pressing the 'Enter' key DataGridViewCellEndEdit, C #

I'm trying to edit the value of a Celda of DataGridView after the event CellEndEdit by pressing the% key Enter send by code a TAB I'm currently using the Event KeyPress and the EditingControlShowing o...
asked by 10.01.2018 / 21:02
1
answer

Load a random image by pressing a key

I can not link my UP , DOWN , LEFT and RIGHT keys to the cambiarImagen function. With the id=boton I get ... but with certain keys not. <script> $(function() { var imagenes = [ '1.jpg', '2.jpg'...
asked by 04.05.2018 / 10:15