Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
jscript error and for the life of me I cant figure it out please help me

spose: function () {
///
/// Dispose the behavior
///


this._hideImplementation();

if (this._foregroundElement && this._foregroundElement.parentNode) {
//////////// //the line below is where the error occurs this._foregroundElement.parentNode.removeChild(this._backgroundElement);

if (this._DropShadow) {
this._foregroundElement.parentNode.appendChild(this._popupElement);
this._foregroundElement.parentNode.removeChild(this._foregroundElement);
}
}

this._scrollHandler = null;
this._resizeHandler = null;
if (this._cancelHandler && $get(this._CancelControlID)) {
$removeHandler($get(this._CancelControlID), 'click', this._cancelHandler);
this._cancelHandler = null;
}
if (this._okHandler && $get(this._OkControlID)) {
$removeHandler($get(this._OkControlID), 'click', this._okHandler);
this._okHandler = null;
}
if (this._showHandler) {
$removeHandler(this.get_element(), 'click', this._showHandler);
this._showHandler = null;
}

if (this._hidingAnimationEndedHandler) {
this._onHiding.get_animation().remove_ended(this._hidingAnimationEndedHandler);
}

if (this._showingAnimationEndedHandler) {
this._onShowing.get_animation().remove_ended(this._showingAnimationEndedHandler);
}

Sys.Extended.UI.ModalPopupBehavior.callBaseMethod(this, 'dispose');
},
Posted

Freind please share the error you are getting on IE, and it would be possible that JavaScript/Jquery code work for 1 browser and not work for others, so we need to code accordingly.

Thanks,
Ambesha
 
Share this answer
 
Comments
Arunprasath Natarajan 15-Oct-12 11:22am    
Dear Friend, Suggestion n comments can be posted in comment field and not in solution.
Hallo internet explorer kept errors in the temp folder i the deleted the temp folder and it worked fine thank you all for all the help
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900