Q: When I was opening a website, Internet Explorer 8 notified me there are problems on this page’s. Usually the error hints shows something like “Object Expected” for Javascript. How can I deal with JavaScript “Object Expected” problem on my computer? The following is an example of the JavaScript Object Expected error.
},
hideLayerKeypro: function() {
if(document.all.keypro_layer2) {
document.all.keypro_layer2.style.visibility = “hidden”;
function _setClassId() {
aos_set_subclsid(“40″,”59B0298B-A7B5-4045-A34E-377EDF7BCB8E”);
}
function _aos() {
function _isInstalledKeyCrypt() {
if( !aos_loaded() ) {
aos_write_object();
AOS.keycrypt();
A: The Object Expected problems in JavaScript is due to the problem of DLL files in your system: jscript.dll and vbscript.dll. If these two DLL files missed, then usually there will be Object Expected problems in JavaScript websites.
If your computer still has these two DLL files, please take the following steps to fix Ojbect Expected problems in JavaScript:
1, Click “Start Menu” – “Run”, and enter “regsvr32 jscript.dll”, then click yes;
2, Click “Start Menu” – “Run”, and enter “regsvr32 vbscript.dll”, then click yes;
Tips: You can download JScript.dll and VBScript.dll here, and unzip them to c:\windows\system32\
3, If the upper two steps notified you success, it means your IE objects’ problems are fixed successfully. And then use Advanced SystemCare Free to empty the history and cookies in Internet Explorer. Then there will be no more Object Expected problems in JavaScript.
And if there is nothing succeed, then please take the following steps that may fix Object Expected JavaScript problems:
1, Reset Internet Explorer or other web browsers. “Tools”, “Internet Options” “Advanced”, “Restore Defaults”. If this step can’t solve JavaScript Object Expected problems, then take the next action.
2, Reinstall Internet Explorer.
3, if the second step doesn’t work either, then the only thing for you is to reinstall whole system.
Then congratulations, your JavaScript Object Expected problems are solved. No more warning when you are surfing on internet.