Solved

JavaScript & JSP help

Posted on 2003-11-03
2
213 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

759 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now