Dear All,
Saya programmer pemula Java (Linux), saat ini saya mempunyai syntax IF utk user
ID = 34 mk checkbox utk BLOK akan disable :
<% if (Integer.parseInt(userId) == 34) { out.println("-"); } else { %>
<input name="blokbox" type="checkbox" id="blokbox"
<%if(resSaldo.getString("suspend_status").equals("Y"))
out.println("checked");%> onclick="check(this);
document.customForm.blok.value=this.value;">
<% } %>
Pertanyaannya kl saya menggunakan koneksinya menggunakan JDBC ke MS-SQL DB,
bagaimana kalau saya ingin modifikasi script tsb menjadi : Jika user ID pada
table Block (MS-SQL) "suspend = Y" maka checkbox utk BLOK disable ?
Terimakasih atas bantuannya.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]
--
www.itcenter.or.id - Komunitas Teknologi Informasi Indonesia
Gabung, Keluar, Mode Kirim : [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ITCENTER/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ITCENTER/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/