File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes How to edit javascript in firefox 3.6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to edit javascript in firefox 3.6" Watch "How to edit javascript in firefox 3.6" New topic
Author

How to edit javascript in firefox 3.6

gourav chouhan
Ranch Hand

Joined: Apr 02, 2010
Posts: 74
Hi friends

How can i edit the javascript in firefox 3.6. Is there any tool to edit javascript and how can i use that tool to edit javascript.

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61419
    
  67

Firebug


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
gourav chouhan
Ranch Hand

Joined: Apr 02, 2010
Posts: 74
Thanks for the reply
I have firebug. please tell me how to use firebug to edit javascript. any document or any link.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61419
    
  67

In the HTML view you can change the markup in real time.
gourav chouhan
Ranch Hand

Joined: Apr 02, 2010
Posts: 74
Hi
i m able to change the markup but not the javascript.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61419
    
  67

Hmmm. It used to let you do that. Apparently, not any longer. Sorry for the bum lead.
gourav chouhan
Ranch Hand

Joined: Apr 02, 2010
Posts: 74
So any suggestion now how to do that ?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
What do you mean edit JavaScript? You mean to actually code it in an editor like eclipse?

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61419
    
  67

I assumed he meant on-the-fly in real time within the browser. Otherwise, yeah, a text editor.
gourav chouhan
Ranch Hand

Joined: Apr 02, 2010
Posts: 74
I need to edit javascript in real time within a mozilla browser.
And one more thing i can edit the javascript with firebug if javascript is written in jsp page itself like below
<html>
<head>
<script type="text/javascript">
function message()
{
alert("This alert box was called with the onload event");
}
</script>
</head>

<body>
<input type = "button" onclick="message()">
</body>
</html>


But i m not able to edit if javascript is imported from some other location like this:-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<script type="text/javascript" src="external.js">
</script>
</HEAD>

<BODY>
<input type = "button" onclick="message()">
</BODY>
</HTML>


please provide some suggestions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to edit javascript in firefox 3.6