Friends I think with the help of this page I can help you learning the html and some css designing...
For more help you can contact on Facebook

Monday 26 November 2012

validate form using javascript

Hello Friend today I want to tell you how to validate your form using  javascript.
                  If You want to validate a text box that it may not be empty.
The HTML page would be something like this..


<html>
          <head>
                   <title>Validate Demo</title>
                   <script type="text/javascript">
                             function validatefullname()
                                  {
                                     var fn=document.getElementbyId(fullname).valueOf;
                                     var fne=document.getElementbyId(fullnameerr).valueOf;
                                              if(fn.length==null)
                                              {
                                                 fne.innerHtml="This field can not be empty";
                                               }
                                               else
                                               {
                                                  fne.innerHtml="";
                                                }
                                   }
                   </script>
          </head>
           <body>
                          <form onsubmit="return formvalidate()">
                                      <font>Your Name:</font>
                                      <input type="text" name="name" value="" id="fullname" onblur="validate fullname()"/>
                                      <label id="fullnameerr"></label>
                                     <input type="submit" name="submit" value="Submit">                                
                                 
                          </form>
           </body>
</html>




Hope it will be helpfull to u pple...
Thank you.....



Friday 16 November 2012

Tool Tip Using Html


How to create a tool tip on any link or button :
                               You can do it just by adding title attribute...
<a href="Home.jsp" title="Click to go Home">Home</a>