This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 237732 - Unable to generate output from the javascript library
Summary: Unable to generate output from the javascript library
Status: RESOLVED INVALID
Alias: None
Product: javascript
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: issues@javascript
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-28 22:13 UTC by Shadow-Boxer79
Modified: 2013-10-30 06:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shadow-Boxer79 2013-10-28 22:13:12 UTC
Hello. I have found a bug that would not display output from the chrome browser even though all of the settings are corrected. Also, whenever I use code from the JavaScript library, jQuery, or CSS, there is no output being generated when the entire code is error free. I'm only able to display output text from HTML tags or a blank image with no graphic displays.
Comment 1 Vladimir Riha 2013-10-29 08:02:22 UTC
Could you please explain (step by step) what exactly do you mean? I really don't understand the description. Please attach information about your environment?
  - IDE log (see http://wiki.netbeans.org/FaqLogMessagesFile) from moment when your issue happens
  - content of chrome://version/ page opened in Chrome (if the issue is related to Chrome)

Also please do not combine multiple problems into single issue, please report one problem in one issue. It makes it more easier to understand issues.

Could you perhaps try it in NetBeans 7.4? Maybe it was already resolved. Thank you
Comment 2 Shadow-Boxer79 2013-10-29 13:54:32 UTC
(In reply to Vladimir Riha from comment #1)
> Could you please explain (step by step) what exactly do you mean? I really
> don't understand the description. Please attach information about your
> environment?
>   - IDE log (see http://wiki.netbeans.org/FaqLogMessagesFile) from moment
> when your issue happens
>   - content of chrome://version/ page opened in Chrome (if the issue is
> related to Chrome)
> 
> Also please do not combine multiple problems into single issue, please
> report one problem in one issue. It makes it more easier to understand
> issues.
> 
> Could you perhaps try it in NetBeans 7.4? Maybe it was already resolved.
> Thank you

1. Whenever I type in the code using the javascript library, it will not display the output from the chrome browser. 

2.I could not display any graphics/animations or use more methods from the jQuery library.

3.The CSS code that I use couldn't display the output from the chrome browser.
Comment 3 Vladimir Riha 2013-10-29 13:59:10 UTC
Would do you mean by "JavaScript library" and "output from the chrome browser"? Could you perhaps share your project here (or send it to me privately) ? I'm sorry but I really don't understand the problem. Thank you
Comment 4 Shadow-Boxer79 2013-10-29 14:34:07 UTC
Here are two programs as the examples of the bug. If you try to run these programs in Netbeans 7.3 or 7.4, it only shows a blank screen from the chrome browser. 

Program #1
  <html>
    <head>
        <script>
            var x = setinterval(function() {myTimer();}, 1000);
            function myTimer(){
                var x = new date();
                var y = x.toLocaleTimeString();
                document.getElementById("demo").innerHTML=y;
            }
        </script>
    </head>
    <body>
        <div id="demo"></div>
    </body>
</html>



Program #2
<html>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
    <script>
        $(document).ready(function(){
            $("#panel").click(function(){
                $("#timer").slideToggle();
            });
        });
    </script>
    <script>
        var a = setinterval(function() {myClock();}, 1000);
        function myClock(){
            var x = new date();
            var y = x.toLocaleTimeString();
            document.getElementById("demo").innerHTML=y;
        }
    </script>
        
    <style>
        panel{
            float: outside;
            width: 250px;
            height: 300px;
            border: 1px solid steelblue;
            background-color: blue;            
        }
        timer{
            border: 1px solid steelblue;
            width: available;
            background-color: blue;
            height: auto;
        }
    </style>
    <body>
        <div id="panel"></div>
        <div id="timer">
            <div id="demo"></div>
        </div>
    </body>
</html>
Comment 5 Vladimir Riha 2013-10-30 06:12:47 UTC
I'm sorry but this has nothing to do with NetBeans.

Both your samples have the same problem. JavaScript is case sensitive, so there is no 
  setinterval but setInterval and no date but Date

in IDE, you can see Output window called Browser log where these errors are printed