Help with Javascript Problem

Hello, Please help me . I have a problem in this code:
This code i was used to Inspect element

};	
	if (typeof( document.createEvent ) == "function") {
		evt = document.createEvent("MouseEvents")
		evt = intmouseEvent(type,
		e.Dubbles, e.cancelable, e.view, e.detail,
		e.screenX, e.screenY, e.clientX, e.clientY,
		e.ctrlkey, e.altkey, e.shiftkey, e.metakey,
		e.button, document.body.parentNode);
	} else if (document.createEventButton();
      evt =  document.createEventButton();

Please fixed this code and send me to my email,

Thanks
Naser noorzad

Hi @Nasernoorzad !

Welcome to the forum!

I moved your reply out of that other topic and into this one since the other thread was dealing with html/css.

Also, you will receive more responses to your question if you explain more about the issues you are having and what you are trying to accomplish with your code.

Also the forum does not give out answers but rather fosters conversation to help you arrive at the answer on your own. :grinning:

1 Like