Solved

JavaScript & JSP help

Posted on 2003-11-03
2
216 Views
Last Modified: 2010-04-01
i understand that:

<script language="javascript">
function openwindowlink_edit() {
newwin = window.open("foodedit.jsp","About","height=210,width=450,scrollbars=no,resizable=no")
}
</script>

lets me open a window by:
<a href="Javascript: openwindowlink_edit()">edit</a>

How do i pass a value to the popup window?
0
Comment
Question by:yapsing
2 Comments
 
LVL 6

Accepted Solution

by:
kotan earned 30 total points
ID: 9669465
<a href="Javascript: openwindowlink_edit('1')">edit</a>

<script language="javascript">
function openwindowlink_edit(value) {
newwin = window.open("foodedit.jsp?value=" + value,"About","height=210,width=450,scrollbars=no,resizable=no")
}
</script>
0
 
LVL 1

Author Comment

by:yapsing
ID: 9669489
nice work. thanx

yapsing
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
trouble with PDF encryption using itext-1.3.1 17 86
report generation frameworks 1 69
memory representation of int[][][] a=new int[2][][]; 10 60
print map entry 34 72
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question