Hi Jesse:

Firstly thanks for your time and tip, I resolve partially a problem with java script with a component and I have to re-do an Id, calculate the js function into the .script and into the .java and generate a lot of js that can be replaced for only one function and passing two parameters, a button and a Checkbox. The funtionality is achieve with this js function

<script language="javascript">
  function enableButton(btn, chk)
  {
     btn.disabled=!chk.checked;
  }
</script>
</head>
<body>
<form name="form1" method="post" action="">
<input type="checkbox" name="checkbox" value="checkbox" onClick="enableButton(test, this)">

  <input type="button" id="test" name="Submit" value="Send">
</form>

The problem is pass the parameters from tapestry, do you know how to achieve this?

Thanks

JQ


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to