JavaScript & JSP help

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

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

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

How do i pass a value to the popup window?
Question by:yapsing

Accepted Solution

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

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

Author Comment

ID: 9669489
nice work. thanx


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
java.lang.UnsupportedClassVersionError 8 372
simple jsp servlet and webservice web example 5 113
maven project import to eclipse problems 13 102
issue with pdf generation 2 83
What does UTC stand for?  “Coordinated Universal Time” – Think of this as the true time on Planet Earth that never changes with the exception of minor leap seconds here and there to account for the changes in the planet's rotation.   What does th…
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
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
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

930 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

8 Experts available now in Live!

Get 1:1 Help Now