Re: javascript: in location bar
- From: Thomas 'PointedEars' Lahn <PointedEars@xxxxxx>
- Date: Wed, 15 Mar 2006 00:26:24 +0100
John Smith wrote:
1) The evaluate string is only 1 line. How do I evaluate a multiline
javascript snippet? Is there a better method than adding ; at the end
of each line and manually combining the say, 10 lines into 1 line?
I use the JavaScript Console feature from ContextMenu Extensions, and
the Open Execute JS extension for this, unless I create a test case
HTML document.
e.g.
<SCRIPT>
The `type' attribute is required:
<script type="text/javascript">
[...]
Will you stop posting the same code over and over again?
Use Message-ID URIs for references if you have to:
news:1142345139.178046.27410@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
<FRAMESET ROWS="50%%,50%%">^^ ^^
Nonsense. <URL:http://validator.w3.org/>
<FRAME NAME="MochaOutput" SRC="about:blank">
Nonsense. about:blank is proprietary.
<FRAME NAME="MochaInput" SRC="javascript:parent.jsinput()">
Nonsense. javascript: is proprietary.
</FRAMESET>
#2) The above function jsinput() is called by another HTML element
(<FRAME> in this case). How do I include the HTML code in the
Evaluation process?
(Pardon?) You do not. HTML code is not script code.
And please learn to quote:
<URL:http://jibbering.com/faq/faq_notes/pots1.html#ps1Post>
<URL:http://www.safalra.com/special/googlegroupsreply/>
PointedEars
.
- Follow-Ups:
- Re: javascript: in location bar
- From: John Smith
- Re: javascript: in location bar
- References:
- javascript: in location bar
- From: John Smith
- Re: javascript: in location bar
- From: RobG
- Re: javascript: in location bar
- From: John Smith
- Re: javascript: in location bar
- From: Thomas 'PointedEars' Lahn
- Re: javascript: in location bar
- From: John Smith
- Re: javascript: in location bar
- From: VK
- Re: javascript: in location bar
- From: John Smith
- javascript: in location bar
- Prev by Date: Re: javascript: in location bar
- Next by Date: Re: prototype autocompleter 2 variables
- Previous by thread: Re: javascript: in location bar
- Next by thread: Re: javascript: in location bar
- Index(es):
Relevant Pages
|