home *** CD-ROM | disk | FTP | other *** search
/ Inside Dreamweaver 4 / IDW4.ISO / pc / Projects / ch22 / Exercise_Files / Exercise_04 / Contact Info.js < prev   
Encoding:
Text File  |  2001-01-17  |  348 b   |  15 lines

  1. function objectTag() {
  2. var contact=document.theForm.contact.value;
  3. var email=document.theForm.email.value;
  4. return '<p><font face="Verdana, Arial" size="2">For more information, contact <a href="mailto:'+email+'">'+contact+'</a></font></p> ';
  5. }
  6.  
  7.  
  8. function initializeUI() {
  9. document.theForm.contact.focus(); 
  10. document.theForm.contact.select(); 
  11.  
  12. }
  13.  
  14.  
  15.