Results 1 to 4 of 4

Thread: jQuery ,

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071

    jQuery ,

    , checkbox. td-, ( checkbox- ... , ). , , <a><img /></a>, / . , jQuery td- , , , .

    Code:
    $("table.list td").click(function(){ ...... });
    , , . , checkbox-a ( ) . td, , input .

    :
    Code:
     $("table.list td a").click( function() {
        window.location = $(this).attr('href');
      });
    , ...

    ( , )? "table.list td:not(a)", .


    !

  2. #2
    Registered User 's Avatar
    Join Date: Feb:2006
    Location:
    Posts: 653
    Code:
    $("table.list td").click(function(e){ 
    if ($(e.target).hasClass('className') || $(e.target).has('selector') || $(e.target).is('selector') ....)
    //   target              td        :)
    ...... 
    
    });

  3. #3
    Registered User
    Join Date: Jul:2006
    Location:
    Posts: 1,071
    help- tutorial-. !

  4. #4
    Registered User
    Join Date: Aug:2006
    Location: Sofia
    Posts: 37
    "return false;" callback , bubble event-.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |