Not much experience in this, but better to convert all to mysql. Because 2 databse handeling may be difficult and also mssql doesn't not provide all functionality like mysql. e.g. you can not use limit in mssql.
Not much experience in this, but better to convert all to mysql. Because 2 databse handeling may be difficult and also mssql doesn't not provide all functionality like mysql. e.g. you can not use limit in mssql.
Same code for multiple textbox and checkbox.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script language="javascript">
function enableMe(fld)
{
eval('window.document.formx.'+fld+'.disabled = !window.document.formx.'+fld+'CB'+'.checked');
}
</script>
</head>
<body>
<form name="formx" action="" method="post" >
<table>
<tr>
<td>
<input type="text" disabled="disabled" name="firstbox" value="First box" >
</td>
<td width="235">
<input type="checkbox" value="1" name="firstboxCB" onClick="enableMe('firstbox');" />
</td>
</tr>
<tr>
<td>
<input type="text" disabled="disabled" name="secondbox" value="Second box" >
</td>
<td width="235">
<input type="checkbox" value="1" name="secondboxCB" onClick="enableMe('secondbox');" />
</td>
</tr>
</table>
</form>
</body>
</html>