Google Groups Home
Help | Sign in
event problemi.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
tgundogan  
View profile
 More options Jul 15, 5:22 pm
From: tgundogan <tgundo...@gmail.com>
Date: Tue, 15 Jul 2008 14:22:29 -0700 (PDT)
Local: Tues, Jul 15 2008 5:22 pm
Subject: event problemi.
Merhaba,
<div><span>bu dügme</span><input class="dıgme" type="button"
value="Yeni"></div>
için
$("input.dugme").bind('click',function(event){
     var yenigiris= '<div><span>bu dügme</span><input class="dıgme"
type="button" value="Yeni"></div>';
     $(this).parent("div:last").after(yenigiris);

}

gibi bir evet yazdım.
amacım her yeni satırda yeni bir buton daha oluşrurup onunda aynı
event ile işlemesi. ama beceremedim. sadece ilk buton üzerinde
çalışıyor event. yeni oluşturulanlar da böyle bir event yok. yardımcı
olabilirmisiniz.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
solskajer  
View profile
 More options Jul 16, 5:29 am
From: solskajer <solska...@gmail.com>
Date: Wed, 16 Jul 2008 02:29:49 -0700 (PDT)
Local: Wed, Jul 16 2008 5:29 am
Subject: Re: event problemi.
eğer doğru anladıysam "clone();" ile ilgili söylediğin..

ve jquery'nin kendi sitesinden direkt kodu alıp yapıştırıyorum.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <script src="http://code.jquery.com/jquery-latest.js"></script>

  <script>
  $(document).ready(function(){

    $("button").click(function(){
      $(this).clone(true).insertAfter(this);
    });

  });
  </script>

</head>
<body>
  <button>Clone Me!</button>
</body>
</html>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kiirpi kiirpi  
View profile
 More options Jul 16, 6:49 am
From: "kiirpi kiirpi" <kiirpisi...@gmail.com>
Date: Wed, 16 Jul 2008 13:49:47 +0300
Local: Wed, Jul 16 2008 6:49 am
Subject: Re: event problemi.

Merhabalar ,

Aşağıdaki kod işinize yarayabilir.. Umarım istediğiniz işi yapıyordur..

Kolay gelsin

*<div class='dummy'><span>bu dügme</span><input class="dugme" type="button"
value="Yeni"></div>
<script>
    $(document).ready(function(){
        $("input.dugme").bind('click',function(event){

$("div.dummy:eq(0)").clone(true).insertAfter($("div.dummy:last"));
        });
    });
</script>
*
2008/7/16 solskajer <solska...@gmail.com>:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tgundogan  
View profile
 More options Jul 22, 9:33 am
From: tgundogan <tgundo...@gmail.com>
Date: Tue, 22 Jul 2008 06:33:52 -0700 (PDT)
Local: Tues, Jul 22 2008 9:33 am
Subject: Re: event problemi.
Merhaba,

Yardımlar için teşekkür ediyorum. livequery plugin i ile hallettim
sorunumu.
http://brandonaaron.net/docs/livequery/. Bu plugin ile havada
oluşturulan domlarada eventlar otomatik atanıyor.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google