devxlogo

Tip Bank

Concatenate Variables Containing Numbers

Question: I need to know how to concatenate variables containing numbers, that is, string them together one after the other. Every method I know simply adds the various numbers together

Convert a Number to a String

Question: How do I convert an integer/float type into a string? Answer: Converting numbers to strings is much easier than you think. Because JavaScript is an untyped language, the interpreter

Disable Browser’s Menu Items

Question: Can I use JavaScript to disable the one of menu items of Internet Explorer or Netscape Navigator? Answer: Sorry, you can’t modify the menus in Internet Explorer or Netscape

Resolving IP Addresses

Question: I require Visual Basic code to resolve IP addresses stored in firewall logs generated by Checkpoint Firewall1. The aim is to report company access by user (assigned dedicated IP

Servlets vs JSP

Question: What is the difference between servlets and Java Server Pages? Which is preferred? Answer: Servlets and Java Server Pages are complementary APIs, both providinga means for generating dynamic Web

Closing the User’s Browser Window

Question: I want to close the window that opened a new window using window.opener.close().The problem is when this code is executed, some confirmation message pops up. Is there any way

Virtual Includes

Question: I’ve been told that you cannot have dynamic virtual includes inJSP. Is this true? For example, is something like this going tocause problems? Answer: JSP is still relatively new,

Cannot Use JavaScript to Get Server Date

Question: How do I get the server date using JavaScript that is embedded in an HTML file? Answer: You can use server-side code (like Perl, ASP, and so forth) to