This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Cannot see the JavaScript code I wrote when I hit script tab on firebug :( Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Cannot see the JavaScript code I wrote when I hit script tab on firebug :(" Watch "Cannot see the JavaScript code I wrote when I hit script tab on firebug :(" New topic
Author

Cannot see the JavaScript code I wrote when I hit script tab on firebug :(

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Html page I wrote:



JavaScript code I wrote:



For some reason, This piece of code is not appearing in the post!! so I am pasting it here. It's in the a tag. onclick="javascript:function1()" href="javascript:void(0)";

I can see the HTML code when I click on the HTML tab and I see the JavaScript name too but it's the JavaScript code I cannot see. What might be the problem?

Thanks.

Be Humble... Be Nice.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

What do you expect Firebug to do? It's showing you the HTML. Why should it show you the linked files as part of the HTML?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Bear Bibeault wrote:What do you expect Firebug to do? It's showing you the HTML. Why should it show you the linked files as part of the HTML?


I meant when I click on script tab, it should show me the JavaScript code I wrote right?/ No?
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Anybody?
Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
It's working now after I moved the files to a different directory. Thanks for listening.

 
GeeCON Prague 2014
 
subject: Cannot see the JavaScript code I wrote when I hit script tab on firebug :(