Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old May 14th, 2008, 01:23 AM
lse123 lse123 is online now
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Nov 2007
Posts: 51 lse123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 36 m 18 sec
Reputation Power: 1
Javascript - Code dissappears in code view ms-fp2002 although viewable in source online

I can not view this code below in frontpage2002 code view although when i view page[http://dimitriavilla.com/book_here.htm] and source i view it successfully ? when i copy code and paste to fp2002 direct editting from web when save disappears the code and saved ? When I open it again no code below ....
I want to can view the in fp2002 what to do ?

Code:
<!--webbot BOT="GeneratedScript" PREVIEW=" " startspan --><script Language="JavaScript" Type="text/javascript"><!--
function FrontPage_Form1_Validator(theForm)
{

  if (theForm.Country.selectedIndex < 0)
  {
    alert("Please select one of the \"Country\" options.");
    theForm.Country.focus();
    return (false);
  }

  if (theForm.Country.selectedIndex == 0)
  {
    alert("The first \"Country\" option is not a valid selection.  Please choose one of the other options.");
    theForm.Country.focus();
    return (false);
  }

  if (theForm.LastName.value == "")
  {
    alert("Please enter a value for the \"LastName\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.FirstName.value == "")
  {
    alert("Please enter a value for the \"FirstName\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.HomePhone.value == "")
  {
    alert("Please enter a value for the \"HomePhone\" field.");
    theForm.HomePhone.focus();
    return (false);
  }

  if (theForm.Email.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email2.value == "")
  {
    alert("Please enter a value for the \"Email2\" field.");
    theForm.Email2.focus();
    return (false);
  }

  if (theForm.Adults.value == "")
  {
    alert("Please enter a value for the \"Adults\" field.");
    theForm.Adults.focus();
    return (false);
  }

  if (theForm.Children.value == "")
  {
    alert("Please enter a value for the \"Children\" field.");
    theForm.Children.focus();
    return (false);
  }
  return (true);
}
//--></script><!--webbot BOT="GeneratedScript" endspan -->

Reply With Quote
  #2  
Old August 19th, 2008, 12:46 PM
jamestrowbridge jamestrowbridge is offline
Contributing User
Click here for more information.
 
Join Date: Jul 2008
Location: Cleveland, Ohio, USA
Posts: 129 jamestrowbridge User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 7 h 50 m 28 sec
Reputation Power: 1
No one uses front page (that I know). Use notepad or gedit like a man.
__________________
Sir, a desire of knowledge is the natural feeling of mankind; and evey human being, whose mind is not debauched, will be willing to give all that he has to get knowledge.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Javascript - Code dissappears in code view ms-fp2002 although viewable in source online


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway