# Opening the keyboard on tap

**URL:** <https://forum.ionicframework.com/t/opening-the-keyboard-on-tap/6187>\
**Category:** ionic-v1\
**Created:** [June 28, 2014, 2:19pm UTC](https://forum.ionicframework.com/t/opening-the-keyboard-on-tap/6187 "2014-06-28T14:19:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khashayar](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@Khashayar](https://forum.ionicframework.com/u/Khashayar)\
**Post date:** [June 28, 2014, 2:19pm UTC](https://forum.ionicframework.com/t/opening-the-keyboard-on-tap/6187/1 "2014-06-28T14:19:33Z")

</div>

Hi Guys,

I’m trying to open the keyboard when the user taps an element. It is not an input field or textarea. How can I do that?

---

<div class="post-metadata">

**Author:** ![ajbraus](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ajbraus/32/63991_2.png) [@ajbraus](https://forum.ionicframework.com/u/ajbraus)\
**Post date:** [June 28, 2014, 4:57pm UTC](https://forum.ionicframework.com/t/opening-the-keyboard-on-tap/6187/2 "2014-06-28T16:57:33Z")

</div>

in config.xml set this:

`<preference name="KeyboardDisplayRequiresUserAction" value="false" />`

Then you can make a focus(); call with Jquery or Angular.

---

<div class="post-metadata">

**Author:** ![Khashayar](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@Khashayar](https://forum.ionicframework.com/u/Khashayar)\
**Post date:** [June 28, 2014, 10:24pm UTC](https://forum.ionicframework.com/t/opening-the-keyboard-on-tap/6187/3 "2014-06-28T22:24:33Z")

</div>

Thanks for the reply but it didn’t work ☹
