Minggu, 21 Juli 2013

PHP Indonesia - Facebook: gan n master mohon bantuan untuk menyelesaikan ini...

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. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
gan n master mohon bantuan untuk menyelesaikan ini...
Jul 22nd 2013, 03:05, by Sis Joko Nugroho

Sis Joko Nugroho 3:05am Jul 22
gan n master mohon bantuan untuk menyelesaikan ini...
saya punya koding js seperti ini..

<script language="javascript">
function addsum(){

var tot=0;
var count = document.getElementsByName('bobotwj1[]');


for(i=0; i<count.length; i++){
tot = tot + parseInt(count[i].value);
}

document.forms.wj.rata[].value = tot;
}

</script>

===============================================
maksudnya mau menempatkan hasil perhitungan ke

<input type="text" readonly="" name="rata[]" id="rata[]" style="width:70px;"/>

bagaimana ya yang benernya?

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