hai everyone
n my screenflow there are two textfield containing place_ interview and date_interview and there is add button and also save button...when i fill the first one...for example place_interview=india and date=28/07/2008...when i press add actually i want to get am empty field so that i can type the other data...but in my came same thing is repeating..can anyone suggest me the best way to do this i will forward my
jsp looks like this
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript">
function addElement()
{
var x = document.getElementById("myDiv");
var ni=x.innerHTML;
var newdiv = document.createElement('div');
newdiv.innerHTML=ni;
}
</script>
</head>
<body>
<table width="100%" border=0 class="type1" cellspacing="2" cellpadding="5"> <td width="22%" class="type1"/><a href="javascript:;" onklick="addElement()" id="theValue">Add</a>
<div id="myDiv">
<tr> <td width="15%" align=right class="type1"><a href="javascript:showMe(document.Selection.place_interview)">Interview Place& Comments</a></td> <td width="22%" class="type1"> <html:textarea property="place_interview" styleClass="textarea" /></td> <
td width="15%" align=right class="type1"> Date/Time : </td> <td width="22%" class="type1"><html:text property="date_interview" readonly="true" styleClass="input_medium" />
please help me i want to solve this within friday
thanks sanju