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