Results 1 to 8 of 8

Thread: JQUery Must Not Affect Code Behind

Threaded View

  1. #1

    Thread Starter
    Fanatic Member aNubies's Avatar
    Join Date
    Aug 2008
    Posts
    558

    JQUery Must Not Affect Code Behind

    Hi guys I want to know if its possible to execute my code behind (VB code) even the jquery execute first.
    To give you a more details on what I am saying, this is what i have

    Code:
    $('#first_div').show();
    $('#second_div').hide();
    
    $('#button1').click(function() {
        $('#first_div').slidetoggle('slow');
        $('#second_div').hide();
    
        $(this).slideToggle('active');
        return false;
    });
    $('#button2').click(function() {
        $('#second_div').slidetoggle('slow');
        $('#first_div').hide();
    
        $(this).slideToggle('active');
        return false;
    });
    with those code my code behind (VB code) doesn't execute anymore. If turn it into return true it will execute however the jquery will not work.

    Please help me understand this JQuery . Thank you
    Last edited by aNubies; Apr 26th, 2013 at 03:41 AM.

Posting Permissions

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



Click Here to Expand Forum to Full Width