cannot enter text in query popup input field
- by raja
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