PassMark Logo
Home » Forum

JavaScript problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sumantto
    Junior Member
    • Jul 2009
    • 8

    #1

    JavaScript problem

    I am including a JS file in the files to be indexed and it has this text "JavaScript is disabled in your browser. To view JavaScript/ Ajax driven functionalities, please enable it before proceeding. ".

    After indexing when I uploaded the files, in the details are being displayed, alongwith the above text!! strange, how this is happening and how to stop it? Please respond soon.
  • David
    Administrator
    • Dec 2004
    • 4714

    #2
    I don't know if it really makes much sense to index Javascript script files. They should be code only files and not really contain much if any search-able content (thus the .js extension). Further search results will point to a .JS file which for most sites won't make sense as the .JS file should only be opened from within a HTML page, not directly.

    It also sounds kind of normal that you index a file with some text, and this text is then searchable?

    Comment

    Working...