Menu
I have a function:
<SCRIPT language=”JavaScript1.2″>
function addNew() {
var tableName = document.add.TableName.value;
alert(tableName);
document.add.action=”/Web/Workflow?TableName=”;
document.add.method=”post”;
document.add.target=”list”;
var tableName = document.add.TableName.value;
alert(tableName);
document.add.submit();
}
</SCRIPT>
I want to use the variable ‘tableName’ in
document.add.action=”/Web/Workflow?TableName=variable”;
How can I do this?