Jumat, 27 September 2013

PHP Indonesia - Facebook: [ask] gan tanya dong... ada referensi buat maslah...

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 Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Refresh your vocabulary.

Learn a new word everyday by subscribing to Word of the Day. A great tool if you're studying for the GRE, GMAT or LSAT, or simply want to enhance your lexicon.
From our sponsors
[ask] gan tanya dong... ada referensi buat maslah...
Sep 27th 2013, 11:09, by Fandi Al-Bantani

Fandi Al-Bantani 11:09am Sep 27
[ask]
gan tanya dong...

ada referensi buat maslah ane ga..

Masalah:
ane punya jquery twitter login, nah pas diclick submit jquery tersbut di disable..

mohon bantuan'a...

Mas Vaishal 11:11am Sep 27
Scriptnya ?

Fandi Al-Bantani 11:12am Sep 27
klo ada script'a gpp minta tp klo ga ada referensi'a jga boleh...
coz dari td nyari ga ketemu...

Mas Vaishal 11:14am Sep 27
Mksud saya script yang anda pakai di mari, nanti saya benarkan.

Fandi Al-Bantani 11:25am Sep 27
<script type="text/javascript">
function checkEnableSubmit() {
if (...) // some logic to determine if it is ok to go
{document.getElementById("xx").disabled = false;}
else // in case it was enabled and the user changed their mind
{document.getElementById("xx").disabled = true;}
}
</script>
...
<input type="button" id="xx" disabled ...>

Fandi Al-Bantani 11:45am Sep 27
ni script form'a...
======================
<fieldset id="signin_menu">
<form method="post" id="signin" action="proses_change_pass.php" onSubmit="return myFunction();" name="formL">
<label for="password">Password Lama</label>
<input id="password_lama" name="passL" value="" title="password_lama" tabindex="4" type="password">
<input type="hidden" name="email" value="<?php echo $email; ?>" />
</p>
<p>
<label for="password">Password Baru</label>
<input id="password" name="passB" value="" title="password_baru" tabindex="5" type="password">
</p>
<p class="remember">
<input id="signin_submit" value="Change Password" tabindex="6" type="submit" class="btn">
</p>
</form>
</fieldset>
===================================

ni javascript'a..
===================================
<script type="text/javascript">
function disableButton(){
$(".btn").each(function(){
$(this).attr("disabled", "disabled");
$(this).parents("formL").submit();
})
}
</script>
===================================

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