Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Core.JS expected Error

    Hi All,

    I get the following error while creating a dashboard in Microstrategy BI tool. Am using the following code.

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.2; .NET4.0C; .NET4.0E; .NET CLR 1.1.4322)
    Timestamp: Tue, 2 Apr 2013 15:39:23 UTC


    Message: Object expected
    Line: 1015
    Char: 4
    Code: 0
    URI: http://corppdhpgbi02.hca.corpad.net/...t/mstr/core.js

    Following is my code

    <!<!DOCTYPE html>
    <html>
    <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
    <body>
    <script>
    jQuery.noConflict();
    jQuery(window).load(function( )
    {
    jQuery("p").hide();
    });

    </script>
    <p>{Facility}</p>
    </body>
    </html>

    Any help is appreciated
    Gaura

  • #2
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Am on IE8 and Windows 2003 R2.
    Thanks Gaura

  • #3
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,041
    Thanks
    23
    Thanked 589 Times in 588 Posts
    Code:
    <!DOCTYPE html>
    <html>
    <head>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
    </script>
    <script>jQuery.noConflict();
    jQuery(document).ready(function(){
      jQuery("p").click(function(){
        jQuery(this).hide();
      });
    });
    </script>
    </head>
    
    <body>
    <p>{Facility}</p>
    </body>
    </html>
    Evolution - The non-random survival of random variants.

  • #4
    New to the CF scene
    Join Date
    Apr 2013
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for your time ,however i still get the same error, and my requirement is to hide the {Facility} attribute values on page load, this code gives me the value first after page load and then when i click on it the value disappears ,this we do not need.

    Please help further if possible

    Thanks
    Gaura

  • #5
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,593
    Thanks
    0
    Thanked 645 Times in 635 Posts
    What is on line 1015 of core.js?
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

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