strtemp=abc if left(strtemp,2)="00" then strtemp=right(strtemp,1) end if
<!--#include file="conn.asp"--><script language="javascript"> function modify(){<% set rs2=server.CreateObject("adodb.recordset") sql="select * from card_info where card_id='"&id&"'" rs2.open sql,cn,3,3 %> var abc="<%=rs2("password")%>"; alert(abc); <%rs2.close set rs2=nothing%> } modify(); </script>
if left(strtemp,2)="00" then
strtemp=right(strtemp,1)
end if
function modify(){<% set rs2=server.CreateObject("adodb.recordset")
sql="select * from card_info where card_id='"&id&"'"
rs2.open sql,cn,3,3
%>
var abc="<%=rs2("password")%>";
alert(abc);
<%rs2.close
set rs2=nothing%>
}
modify();
</script>