Sabtu, 05 Oktober 2013

PHP Indonesia - Facebook: [ASK] Met siang mastah2, jangan bosen2 y buat jawa...

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/ 
LSAT prep from HLS-educated instructors

LSATMax includes video lessons, unlimited personal attention & support, and over 6,000 real questions from previous LSAT's. Enroll for just $299.
From our sponsors
[ASK] Met siang mastah2, jangan bosen2 y buat jawa...
Oct 5th 2013, 09:53, by Dhie Cihuy

Dhie Cihuy 9:53am Oct 5
[ASK]
Met siang mastah2, jangan bosen2 y buat jawab pertanyaan ane :)

Gimana caranya buat ngambil data dr tag html ke dlm script jquery, misalkan ane punya data:

<span class="nama_alumni">Tedjo-Makmur</span>

data Tedjo-Makmur ini mau ane embbed ke jquery ini:

<script type="text/javascript" language="javascript">
$(document).ready(function() {
$('#kolomreuni').click(function()
{
x_open('Daftar Nama', 'daftar.php?namalengkap=datanya disini gan','605','650');
});
});
</script>

kira2 scriptnya spt apa/klo g, punya link referensi buat penerapannya? Terima Kasih

Wahyu Raja Butar-Butar 9:57am Oct 5
sy cb jwab ya. kl slh msh newbi. cb $(' .nama_alumni').text(); kekny

Dhie Cihuy 10:00am Oct 5
Rifky Aditia Maaf gan mksdnya gmn y? msh kurang jelas ane :)

Rifky Aditia 10:00am Oct 5
saya definisiin sedikit ..
untuk memulai jquery ..

$(document).ready(function());

nah misalkan saya punya 2 properti
<button>Hilangkan Nama Rifky</button> & <p></p>

didalama <p>Rifky</p> // ada nama saya rifky didalam tag p

saya mau hide Nama saya, gimana caranya ?

mudah ..

// mulai jquery
$(document).ready(function(){
<!-- property yang dilcick button -->
$("button").click(function(){
<!-- properti yang mau dihide yaitu tag p tinggal kasih fungsi hide -->
$("p").hide("slow");
});
});

property itu bisa dikasih id jadi misal didalam ("button") jadi ("#namaid")

Dhie Cihuy 10:02am Oct 5
Wahyu Raja Butar-Butar ane coba dulu gan, trims

Wahyu Raja Butar-Butar 10:03am Oct 5
maaf kl slh y gan. klo g bs cb .html() http://api.jquery.com/text/

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