0

I have html code like this:

<div class="container">
    <input type="text" name="name" value=""/>
    <div class="error">Error here!</div>
</div>

With css this div block positions inside input by position: absolute. When I open page on mobile phone, such as iPhone 5S Chrome Browser, click on this div focus it and I can delete it by click delete button on keyboard.

And when I bind click event on this div, on desktop browsers it is working, but on mobile browsers not working.

On desktop browsers no such problem.

soundslikeodd
  • 1,097
  • 2
  • 24
  • 30

0 Answers0