Jumat, 04 Oktober 2013

PHP Indonesia - Facebook: [Nanya] Met siang mastah2 php, ane mau tanya nich,...

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/ 
Want free Kindle ebooks?

Sign up to receive the best freebie Kindle ebook deals in your email every day.
From our sponsors
[Nanya] Met siang mastah2 php, ane mau tanya nich,...
Oct 4th 2013, 08:28, by Dhie Cihuy

Dhie Cihuy 8:28am Oct 4
[Nanya]
Met siang mastah2 php, ane mau tanya nich, gmn caranya utk change attribut link a href dari suatu div ID? ane udah nyoba spt contoh dibawah ini, tp knp g work y. Mohon dibantu :)

<html>
<title>test page</title>
<head>

<script type="text/javascript" language="javascript">
$(function() {
$('#popuplink a:first').attr({href: "detik.com"});
});
</script>
</head>
<body>

<div id="popuplink">
<a href="kapanlagi.com" class="link">ini link coba</a>
</div>

</body>
</html>

Indra S Kazekage 8:43am Oct 4
coba ganti jadi $(document).ready(function(){
$('#popuplink a:first').attr({href: "detik.com"});
});

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