I use messagebox on a web page but when I upload my file on a virtual directory on a server the messagebox does not work and there are some errors, why?

Please be more specific. There is no such thing as a "messagebox" in HTML. There are "alerts" and "confirms". Which server control are you using?

.if you are using script for displaying the alert message box then you must ensure that javascript is enabled in the browser that you are using. please check it out.

JavaScript is always enabled by default.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.