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.
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.
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
(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.
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
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>
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