Solved

JavaScript & JSP help

Posted on 2003-11-03
2
218 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
oracle fusion vs MQ 2 136
spring example errors 33 568
struts spring hibernate example 12 144
jsp error 6 72
Check out this step-by-step guide for asking an anonymous question on Experts Exchange.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

752 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