+ Reply to Thread
Results 1 to 4 of 4

Thread: help! part of my java script code shows
      
   

  1. #1
    BCFC is offline Corporal
    Join Date
    Jun 2008
    Posts
    16

    Question help! part of my java script code shows

    can anybody tell me why java script shows when I view it in the browser. I haven't published yet.

    cut and pasted date java script and it shows ok but at the end of the date I can see part of the script like this : -->

    Cant seem to get rid of it......anyone know what to do?

  2. #2
    DM Owner's Avatar
    DM Owner is offline First Lieutenant
    Join Date
    Apr 2008
    Location
    Michigan (GO BLUE)
    Posts
    158

    Default Re: help! part of my java script code shows

    is the java script part of a form? if so try to make the form skin bigger to cover the part of the script shown.

    DM Owner
    www.digitalizedmemories.com

  3. #3
    HalaalPages is offline Sergeant Major
    Join Date
    Aug 2008
    Posts
    85

    Default Re: help! part of my java script code shows

    Post the script and that might make it easier to help. It seems like there's something added to the script that does not belong (or missing, for that matter). I had one of such scripts yesterday and had to go line by line to figure out what was wrong.
    HalaalPages.com
    FREE Georgia Muslim Directory

  4. #4
    dwill525 is offline Private
    Join Date
    Oct 2008
    Posts
    3

    Default Re: help! part of my java script code shows

    My guess is that you have a typo somewhere in your code. If you're seeing "-->" you may have extra or missing // within your javascript tags.
    the basic layout should be as follows

    SCRIPT language="JavaScript">
    <!-- begins javascript comments and hides the script from old browsers
    ......Javascript Statements.......
    //--> This closes the comment section and tells the browser to continue on
    </SCRIPT>

    you could try removing the comment lines to determine if that is the cause ( <!-- and //--> )

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49