IE : Security Warning Message

When you browse to a page through HTTPS, sometimes you might get a popup similar to this :

The main reason for this is your page refers to some link which is HTTP and not HTTPS i.e. not using a secured protocol.

To resolve this:
1. Make sure every external link you are using is HTTPS
2. All your internal links should be relative


Change
div#header {
background-image: url(http://www.example.com/images/header.png) no-repeat;
}

To:

div#header {
background-image: url(/images/header.png) no-repeat;
}

3. Make sure all the IFRAME have src attribute set and points to some HTTPS or relative url. If you can't specify any url, add a blank html page in your application and specify the src to point to that page.

i.e. <IFRAME src="/../blank.html"/>

Oracle - Hierarchical Queries

Is your database contains parent - child relationship ? If yes, then there is quite a chance that you have to write a query to get the complete Hierarchy given a node of the tree.
I found a very nice article at www.databasejournal.com.
 
Hope this will help you !
 
Enjoy.
Ner Labs.
 

Clearing HTML forms

You can reset your HTMl form to its default values using reset button. But if you have to clear off all the values you need to achieve this through java script.
 
Refer to following simple java script method:
 
function clear() {
 for (var i=0;i<document.forms[0].elements.length;i++) {
  if (document.forms[0].elements[i].type == "text" || document.forms[0].elements[i].type == "textarea")
   document.forms[0].elements[i].value = "";  
  else if (document.forms[0].elements[i].type == "select-one")
   document.forms[0].elements[i].selectedIndex = 0;
  else if (document.forms[0].elements[i].type == "checkbox")
   document.forms[0].elements[i].checked = false;
 }