dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: View Javascripts

  1. #1
    Join Date
    Sep 2006
    Posts
    192

    View Javascripts

    If I include a javascript file as

    <script language="JavaScript" type="text/javascript" src="js/test.js"></script>

    in a jsp page.

    When the page is loaded, the users can use the View Page Source function to see the above line of code.

    My question: Can the users see the content of the test.js file as indicated above? If so how could they do it?


    Thanks

  2. #2
    Join Date
    Nov 2006
    Location
    Oakland
    Posts
    500
    Yes, the users can see the content of test.js. So do not include any sensitive information in your JavaScript files.

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
  •  
HTML5 Development Center



Recent Articles