cannot enter text in query popup input field
Posted
by
raja
on Stack Overflow
See other posts from Stack Overflow
or by raja
Published on 2012-10-25T10:56:53Z
Indexed on
2012/10/25
11:00 UTC
Read the original article
Hit count: 180
i am unable to enter text in jquery popup text field......
i am using following plugins
my html code
</head>
<body onmousedown="return false;">
<div id="container"></div>
<div id="divMenu"></div>
</body>
</html>
i am appending popup tags as
function setupCalibration(){
$('#container').append(' <div data-role="popup" id="calibratePopup" data-transition="flip" data-theme="e" data-overlay-theme="a" class="ui-content" style=" width:300px;height: 200px; z-index:1; display:none;"><label for="name">Text Input:</label><input type="text" name="name" id="name" value="" /></div>');
}
and this is how i am invoking popup on click of divmenu button
document.getElementById('divMenu').addEventListener('click',
function() {
$( '#calibratePopup' ).popup({display:block});
$( '#calibratePopup' ).show();
$( '#calibratePopup' ).popup( "open");
}, false);
i am able to show popup,but input field is not responding
© Stack Overflow or respective owner