09-28-2010
Thanks,
Both of those worked but I swear I did both of those options and could not get it to work. Could this be because it was a separate js file? karthikprasathk your version looks identical to mine except that you added it to the head. Is that all or am I missing something?
---------- Post updated at 10:29 AM ---------- Previous update was at 10:11 AM ----------
Wow just figured it out. Came down to taking the apostrophes off and adding another equals sign to the second argument. Thank you both for your help.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
found that passing (input) values to awk, all work well. For example:
errpt | awk 'BEGIN { errore=0 }
substr($2,1,4) /'ParamData'/ {
....
} ' ParamData=`date +"%m%d"`
Now I wish to obtain (output) a value. Using this method is it possible to re-write ParamData, for example?
Thanks in... (3 Replies)
Discussion started by: gio123bg
3 Replies
2. Shell Programming and Scripting
I am currently able to use the $QUERY_STRING variable and simply cut out what I need to be assigned as variables within the shell script. However, I've been able to use the "name" value assigned within the FORM(HTML) as a variable when I use perl. Why is it that ksh doesn't read the "name" in as... (1 Reply)
Discussion started by: douknownam
1 Replies
3. Shell Programming and Scripting
How do I pass a bash variable to a javascript?
I've tried
#!/bin/bash
echo "Content-type: text/html"
echo ""
echo "<html>"
echo "<head>"
counter=0
echo '<script>
window.parent.document.forms.counter.value = "$counter";
</script>'
I have an iframe script which I am trying to pass a... (3 Replies)
Discussion started by: numele
3 Replies
4. Shell Programming and Scripting
I have a internal wesbite set up and any visitor must enter username / passwd as defined in apache (I've set these up using htpasswd)
I use cgi scripts set up using ksh or javascript to populate pages / tables etc.
I want to be able to get the apache username that the used authorised... (3 Replies)
Discussion started by: frustrated1
3 Replies
5. Programming
Hey All,
What I'm looking for is a way to rotate an image by non 90 degree angles (ie 90, 180, 270, 360). I am able to do it in PHP, but there are errors in the image, some pixels end up colored incorrectly and the image ends up resized and I lose transparency. I've done my share of searching on... (1 Reply)
Discussion started by: pmd006
1 Replies
6. Programming
Hi all,
can you please help me with these part of my code, I want to calculate average grade from each module and
not sure if need to label each element there, or is there any easier option to do that?
appreciate your help... (0 Replies)
Discussion started by: me.
0 Replies
7. Shell Programming and Scripting
Hi,
This is a part of my code:
case "$1" in
home)
echo '<h2> Select a student: </h2>'
echo '<br>'
for stunum in $(ls ./)
do
echo "<a href=edit?numeric_stu=$stunum>`sed -n 1p ./$stunum/info`</a>"
echo '<br>'
done
edit)... (1 Reply)
Discussion started by: jerrywangzi
1 Replies
8. Web Development
Hello All,
After getting inspired from Neo, I have started a bit of JS learning these days. Whenever I learn something I will try to post it here(as of now my learning is NOT exactly bookish where I am going chapter by chapter etc, it could be more like small-small project vice kind of), I... (25 Replies)
Discussion started by: RavinderSingh13
25 Replies
LEARN ABOUT DEBIAN
rhino-debugger
RHINO-DEBUGGER(1) General Commands Manual RHINO-DEBUGGER(1)
NAME
rhino-debugger - invokes the rhino JavaScript debugger GUI
SYNOPSIS
rhino-debugger [options] script_filename_or_url [script_arguments]
DESCRIPTION
This manual page documents briefly the rhino-debugger command. This manual page was written for the Debian distribution because the origi-
nal program does not have a manual page. It is written according to the html documentation.
rhino-debugger is a start script for the rhino JavaScript debugger. The Rhino JavaScript debugger is a GUI that allows debugging of inter-
preted JavaScript scripts run in Rhino. Note that this debugger will not work with JavaScript scripts run in the mozilla browser since
Rhino is not the engine used in such environments.
OPTIONS
-e script_source
Executes script_source as a JavaScript script.
-f script_filename_or_url
Reads script_filename_or_url content and execute it as a JavaScript script.
-opt, -O optLevel
Optimizes at level optLevel, which must be an integer between 0 and 9.
-version versionNumber
Specifies the language version to compile with. The string versionNumber must be one of 100, 110, 120, 130, or 140. See JavaScript
Language Versions for more information on language versions.
-strict
Enable strict mode.
EXAMPLE
Example debugging the NervousText.js applet written in JavaScript. The example is provided in the librhino-java-doc package.
$ rhino-debugger NervousText.js
SEE ALSO
The online documentation under http://www.mozilla.org/rhino/debugger.html
AUTHOR
This manual page was written by Damien Raude-Morvan <drazzib@debian.org>, for the Debian project (but may be used by others).
Friday 17, 2009 RHINO-DEBUGGER(1)