Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64851
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody?
 
Arjun Reddy
Ranch Hand
Posts: 629
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's working now after I moved the files to a different directory. Thanks for listening.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic