0

I am tring to run function that get 2 variables one of them should get the value from textfield.

any advice?

<%@page import="root.SQLQuery"%>
<%@ page language="java" contentType="text/html; charset=windows-1255"
pageEncoding="windows-1255"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"     "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ page import="root.SQLQuery"%>
<% 
String emp_email = session.getAttribute("email").toString();
SQLQuery sql = new SQLQuery();
String link="";

%>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
<title>Insert title here</title>
</head>
<body>
<center>
<table width="900" height="900">
<iframe src="http://www.aol.com/av" width="900" height="900"></iframe>
<center>
<font color=red>your email is:<%=emp_email%>></font>
Copy the link here: <input type="text" name="videoLink" id="link">
<input type="submit" value="submit" onclick="<%sql.meetingUpdateVideoLink(emp_email,        request.getParameter("videoLink").toString()); %>>">
</center>

</table>
</center>

I am tring to insert the fanction meetingUpdateVideoLink() two variables:

  1. email - that easy I get from session.

  2. Link - that is the tricky one I need to get it from the textfield name="videoLink"

Thanks, Cfir

4

0 回答 0