Open terminal (Ctrl + Shift + X) and give the following commands:
root #change to root userNow re-validate your facebook account from the sharing accounts.
apt-get install libcurl3
root #change to root userNow re-validate your facebook account from the sharing accounts.
apt-get install libcurl3
$('.mySelectMenu').selectmenu('refresh', true);Sometime we might get an error like: "Uncaught cannot call methods on selectmenu prior to initialization; attempted to call method 'refresh'". To resolve it by first initialize the select menu and then refreshing it.
$('.mySelectMenu').selectmenu();20 Nov 2012: Update with JQM 1.2.0 code explanation given below.
$('.mySelectMenu').selectmenu('refresh', true);
// jQM v1.2.0: line 516The code at line 6 checks for
// ...
if ( isMethodCall ) {
this.each(function() {
var methodValue,
instance = $.data( this, fullName );
if ( !instance ) {
return $.error( "cannot call methods on " + name + " prior to initialization; " +
"attempted to call method '" + options + "'" );
}
// ...
});
}
// ...
mobileSelectmenu
property in the current element and assigns to the instance
variable. If the current item is not select
then the instance
is null
and we get the error.