Hi (First time user)
I am developing a team unit leader page. On my page I have a table with one column and multiple rows with each row having a department name. I would like to do two things but i'll focus on one for now. When i click on a dept. name I would like to display the tul for that department pic. I am new to asp, but in my table that holdoing the dept name i have <tr> <td onclick="tulpic();"> and in my script
<script language="javascript">
function tulpic() {
// here is where i am wondering is i can just put
<% tulsql="select picutreurl from tb.users where tb_users.deptname= &request("deptname") and teamleader=1" %>
//also how would my pic actually be display?
}
</script>
Ohhh help me