Kamis, 25 Juli 2013

PHP Indonesia - Facebook: Numpang tanya master... gimana... cara nya... memb...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Numpang tanya master... gimana... cara nya... memb...
Jul 26th 2013, 01:58, by Add Inhy

Add Inhy 1:58am Jul 26
Numpang tanya master... gimana... cara nya... membuat Input tulisan dengan Text Box yang otomatis berubah menjadi UPPERCASE jika kita tuliskan input tanpa perlu menekan tombol CAPSLOCK pada keyboard...

Muhammad Adi Khairul 1:59am Jul 26
pke fungsi strtoupper()

Add Inhy 2:01am Jul 26
gimana cara pakai nya tu gan..?

Dwi Rano Agustianto 2:01am Jul 26
bikin function

<script type="text/javascript">
function ChangeCase(elem)
{
elem.value = elem.value.toUpperCase();
}
</script>

trus di tiap textboxnya tambahin onblur="ChangeCase(this);"

misal -> <input onblur="ChangeCase(this);" type="text" id="txt1" />

Add Inhy 2:02am Jul 26
di coba dulu gan.. Dwi Rano..

Add Inhy 2:06am Jul 26
Dwi Rano Agustianto nggak bisa gan...

<script type="text/javascript">
function ChangeCase(elem)
{
elem.value = elem.value.toUpperCase();
}
</script>
saya letakkan di head

Dwi Rano Agustianto 2:07am Jul 26
coba script fullnya kyk gmana

Add Inhy 2:09am Jul 26
<html>
<head>
<title>Formulir Pendaftaran Mahasiswa Baru Program S.1 dan D.III</title>
<script type="text/javascript">
function ChangeCase(elem)
{
elem.value = elem.value.toUpperCase();
}
</script>

<style type="text/css">
<!--
.style3 {font-size: 24px}
-->
</style>
</head>
<body>
<table width="200" border="5" align="center">

<tr>
<td><?php include "conn.php"; ?>

<form method="post" action="simpan.php" enctype="multipart/form-data">
<table width="997" height="889" border="0" align="center">

<tr>
<td width="206">Nama</td>
<td colspan="6"><label>
<input type="text" name="nama" size="35" maxlength="35" onblur="ChangeCase(this);"/>
</label></td>
</tr>

Rifan E. R 2:09am Jul 26
cara lain: client side CSS {text-transform:capitalize}, server strtoupper()

Add Inhy 2:10am Jul 26
Rifan E. R cara lain..pakai CSS mungkin bisa gan...tapi kan... kalau pakai javascript lebih seru soal nya pas kita nulis itu lansung berubah ke huruf Besar...

Rifan E. R 2:11am Jul 26
memang CSS gak langsung berubah apa tiap kita ketik? :)

Add Inhy 2:12am Jul 26
Rifan E. R nggak tau gan... haha :D di coba dulu..ya

Add Inhy 2:13am Jul 26
Dwi Rano Agustianto oh udah bisa ternyata gan...hahahah.. thanks... master..

Dwi Rano Agustianto 2:13am Jul 26
klo js yg td eventnya kan onblur bro, itu bakal jalan saat cursornya pindah textfield lain. klo mau langsung jd capital ya pake css kyk yg dibilang agan diatas

Add Inhy 2:14am Jul 26
sip sip....

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar