trentrichardson/jQuery-Impromptu — Issue #2: Impromtu is not working in IPAD
Author: mhbalti
Created: 2012-02-15 11:49:55+00:00
State: open

I have implemented impromptu using asp.net. Everything is fine and working except on ipad. My function to call the plugin is as;

function ShowImromptu(caption, message, buttons, callBackFunction,focus)
{
if(callBackFunction != null && callBackFunction != 'null' && callBackFunction != "null" && callBackFunction!= '')
{
var temp =
{
init: {
html:'',
buttons: { }
},
ALR000:
{
html:'',
submit: callBackFunction,
buttons: buttons,
focus: focus
}
}
}
else
{

var temp =
{
init: {
html:'',
buttons: { }
},
ALR000:
{
html:'',
buttons: buttons,
focus: focus
}
}
}
var spinner = $('

');
$.prompt(temp);
spinner.prependTo('#jqi');
ShowCustomPromptAlert(caption, message,callBackFunction,300,false);
return false;
}

e.g My Parameters are;

var buttons = {OK:false};
var callBack = function(v,m,f){$('#ctl00_ContentPlaceHolder1_AmountField').focus();};
ShowImromptu('ALRT-EF-01', '_EntryForm_EmptyFields_Alert', buttons, callBack ,0);

But it never shows in IPAD.