How to include file in JSP ? Just like ASP, or PHP, JSP is also allow to include for programmer by include function.Here's the simple example.Going to include hello.jsp... |
How to include Javascript from anonther ? Actually there is such a function in PHP which function is "include".It's very strong function.But Javascript does not support such a function.Here's the alternate method to do that.To include javascript, following is using usually: |
How to include a file with error reporting ? Sometimes you want to be able to give some feedback if a PHP include has failed. Here is a version using the fopen command, which can search the include path. |
How to record visitor's name by Cookie This cookie records the visitor's name. It can then be used for identification or other purposes,as needed.userName.jsfunction getCookieVal (offset) { var endstr = document.cookie.indexOf (";",offset); if (endstr == -1) endstr = document.... |
Javascript & Cookie based Visitor Application This cookies records how many times the visitor has visited the page and writes to the page accordingly.visits.jsfunction GetCookie (name) { var arg = name "="; var alen = arg.length; var clen = document.cookie.length; var i ... |
Cross Browser Event Management Functions Using JavaScript What I have provided is a cross browser approach to attach and manage events. IE uses Object.attachEvent to attach an event to an object,whereas Fx uses Object.addEventListener to do the above function. Similarly the functions used for removing an attached... |
Printing A Page how to print the current page |
Example Of Creating Objects an example of creating object in javascript,taken from http://www.wdvl.com/Authoring/JavaScript/Tutorial/objects.htmldirect instance of an objectDespite the awkward sound name, a "direct instance of an object" simply means creating a new single object, suc... |
Linking Drop Downs Linking drop downs is a frequent question. Here is a javascript based example
|