Questions tagged as 'onblur'

1
answer

child element taking focus from parent element

Is there any way to know when any child element is in focus? My problem revolves around the example below where I need a div not to blur when a child element is in focus (in this case any input element that serves for user interaction activates...
asked by 16.06.2015 / 14:01
1
answer

Check equal data in SQL with onBlur

I need to type in input , it checks the database if there is an equal record, such as those fields of user creation in email. I think it's in onBlur of input , and using if == in the command, the problem is: how do I call SQL...
asked by 20.05.2018 / 01:06
1
answer

How do I calculate using onblur between 3 fields

I have 3 fields in a form. Putting the value in one, when leaving this field, lavascript should make the calculation and popular the other two each with a result: EX: Campo 1: Entro com o valor 10 Ao sair do campo 1, deve fazer Campo 2 = Ca...
asked by 06.01.2017 / 02:10
3
answers

Add values of two inputs and show in third

I'm a beginner in jQuery and I'm not able to add the values of two different inputs and show a third input the result without refreshing the screen. Could someone help me? These are the form fields: <div class="form-group" id="formvalor"...
asked by 12.06.2017 / 22:54
1
answer

problem of event blur with submit button

Good afternoon, I have a form, it has a text field that triggers the event .blur that takes the name entered and returns an id with ajax, takes the id saved in another input hidden, the problem is that the event only blur is triggered if I click...
asked by 11.04.2018 / 21:13
0
answers

AJAX does not return anything from the database

I need to check if the data already exists in the database and only gives the warning if it already exists, otherwise nothing happens. Only onBlur is not working. PHP <input name="placa" id="placa" type="text" value="" pattern="[A...
asked by 28.05.2018 / 13:40