<li><a href="#center_liststyle_1btn" data-inline="true" data-rel="popup" data-position-to="window">Center_list style 1 button popup</a></li>
<li><a href="#center_liststyle_2btn" data-inline="true" data-rel="popup" data-position-to="window">Center_list style 2 button popup</a></li>
<li><a href="#center_liststyle_3btn" data-inline="true" data-rel="popup" data-position-to="window">Center_list style 3 button popup</a></li>
+ <li><a href="#textbox_popup" data-inline="true" data-rel="popup" data-position-to="window">Popup has textbox</a></li>
<li><a href="#positionWindow" data-rel="popup" data-position-to="window">Position</a></li>
</ul>
</div>
</div>
+ <!-- textbox popup -->
+ <div id="textbox_popup" data-role="popup" class="center_title_2btn">
+ <div class="ui-popup-title">
+ <h1>PopupTest<h1>
+ </div>
+ <div class="ui-popup-text">
+ <input type="text" size="30" />
+ <input type="text" size="30" />
+ </div>
+ <div class="ui-popup-button-bg">
+ <a data-role="button" data-rel="back" data-inline="true">OK</a>
+ <a data-role="button" data-rel="back" data-inline="true">Cancel</a>
+ </div>
+ </div>
+
<div data-role="popup" id="positionWindow">
<p>I am positioned to the window.</p>
</div>
--- /dev/null
+From 54ea1ae798681ee684f4419312ff9c35eef2ff3a Mon Sep 17 00:00:00 2001
+From: "hjnim.kim" <hjnim.kim@samsung.com>
+Date: Tue, 8 Jan 2013 14:48:57 +0900
+Subject: [PATCH] JQM IME hide when popup is closed
+
+libs/js/jquery-mobile-1.2.0/js/widgets/popup.js
+
+Signed-off-by: hyunjung kim <hjnim.kim@samsung.com>
+---
+ libs/js/jquery-mobile-1.2.0/js/widgets/popup.js | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/libs/js/jquery-mobile-1.2.0/js/widgets/popup.js b/libs/js/jquery-mobile-1.2.0/js/widgets/popup.js
+index 87aeffb..f6efab9 100644
+--- a/libs/js/jquery-mobile-1.2.0/js/widgets/popup.js
++++ b/libs/js/jquery-mobile-1.2.0/js/widgets/popup.js
+@@ -681,6 +681,9 @@ define( [ "jquery",
+
+ this._isOpen = false;
+
++ // IME hide when popup is closed
++ this.element.find("input").blur();
++
+ // Count down to triggering "popupafterclose" - we have two prerequisites:
+ // 1. The popup window reverse animation completes (container())
+ // 2. The screen opacity animation completes (screen())
+--
+1.7.5.4
+