| 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: 56205
|
|
|
Firebug
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About 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: 56205
|
|
|
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: 56205
|
|
|
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: 15357
|
|
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: 56205
|
|
|
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
|
 |
 |
|
|
subject: How to edit javascript in firefox 3.6
|
|
|