java Script Error Please help

Results 1 to 2 of 2

Thread: java Script Error Please help

  1. #1
    Join Date
    Dec 1969

    Default java Script Error Please help

    Hi all <BR><BR> I have a strange error, i am using a client validation function using visual interdev editor but for some reson it is not recognizing script tag it becomes pink in color. i have used the same one in another place and it works fine, can some body suggest me what is going on.<BR><BR>&#060;script language=javascript&#062; <BR><BR> function validate() {<BR> if ((document.EditList.fDescLink.value != "")&& (document.EditList.fDesc.value != "")) {<BR> alert ("Please enter either DescLink or Description field."); <BR> document.EditList.fDesc.focus();<BR> return false;<BR> }<BR> return true;<BR> }<BR> &#060;/script&#062;

  2. #2
    Join Date
    Dec 1969

    Default RE: java Script Error Please help

    that color behavior is usually an indication that you have used incorrect syntax previous to the miscolored code.<BR><BR>check for closing quotation marks, closing brackets "&#062;" and other such syntax errors.<BR><BR>i&#039ve yet to see any other cause for this kind of behavior.<BR><BR>kurt

Posting Permissions

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