ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I think I mentioned this in a previous post: They are two very, very, VERY different languages.
and all this is not a lie, and at the same time I wonder why no one corrected me on Stackoverflow.
This question was there for past two days! No one answered there so I had to ask here.
Originally Posted by SigTerm
Thanks, I knew about alert, but not about document.write. Will try out today.
Tried "document.write ("11");", it didn't print anything to the console, in fact I think, it tried to print on the widget, though nothing was shown but at least it prevented the map from getting displayed.
I wanted it to display on "console". I am running the qt executable as "./showmap" and then a widget gets displayed on which the map is shown. On a button click, a function gets called and in that function I have written document.write("11"); which doesn't seem to be doing anything normal.
Last edited by TheIndependentAquarius; 06-05-2011 at 10:55 PM.
and in the first answer they talk about installing something called firebug
Yes, something called Firebug. A Mozilla addon used by all web developers. What an unreasonable thing for someone to suggest.
Not an option in your case though, because you're not using Firefox.
alert of course works, but I don't consider it nice to go clicking on "ok" buttons every now and then, especially when a loop goes on.
Originally Posted by dugan
I didn't try console.log after that, actually.
and editing your posts with important infos after long durations is not very helpful since it can be easily missed (no additional mail notification gets sent).
Last edited by TheIndependentAquarius; 06-06-2011 at 01:44 AM.