Solved

JavaScript & JSP help

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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