javascript question

Results 1 to 2 of 2

Thread: javascript question

  1. #1
    bobby Guest

    Default javascript question

    I was wondering if it is possible to write an if statement in a javascript function. I want to write a function that checks a center frame for what form is in the frame, and depending upon what form it is will determine what action to take.<BR><BR>Is this possible, and if so can anyone help me with the syntax?

  2. #2
    Bill H.. Guest

    Default RE: javascript question

    There are loads of tutorial sites out there. The basic syntax for a javascript if is:<BR><BR>if(expression)<BR>{<BR> do something<BR>}<BR>else<BR>{<BR> do something else<BR>}<BR><BR>remember that operators are a bit different too...<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts