I been told to add a feature where when I click those task in it will disappeared.It indicates that the task completed and do not want to see it again anymore. Besides, when refresh, everything cannot reset back.
strWhere = "Where acti='"& replace(strActi,"'","''") & "'"
strSQL = " select acti from task "
objRS.Open strSQL, objConn
I have made a feature to disappear the row, but after refresh everthing is back to usual.
function taskOnclick(row) {
row.closest('tr').remove();
<%=objRS("acti")%> = '0'
};
So i added a new column called acti and then when click acti will become 0 ,then show that time filter acti=1 but in coding, i cannot handle it. May i know which part i miss it? I sure here might be someone can help in this.Thanks in advance.
<tr id="taskid">
<%
Response.Write "<td onclick=""taskOnclick(this)""><a href=""#"">" & objRS("TASK") & "<span>"&objRS("REMK")&"</span></a></td>"
Response.write "<td>" & objRS("DDAT") & "</td>"
Response.write "<td class=""days"" style=""text-align:center"">" & objRS("DAYS") & "</td>"
Response.write "<td >" & objRS("CDAT") & "</td>"
%>
</tr>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire