User Profile

Collapse

Profile Sidebar

Collapse
spv2
spv2
Last Activity: Mar 26 '13, 11:15 AM
Joined: Jan 16 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • spv2
    started a topic addEventListener is not working

    addEventListener is not working

    Hi,
    This is my code

    Code:
    $("#<%=imgBtDone.ClientID %>").click(function(e) {
    var button = document.getElementById('imgBtDone');
        
    button.addEventListener('click', function () {                       alert('test'); }, false);  
    });
    here addEventListene r not executing.

    Thanks,
    spv2
    See more | Go to post
    Last edited by Rabbit; Jan 19 '13, 06:20 AM. Reason: Please use code tags when posting code.

  • Hi,
    After closing this dialog and clicking submit button will set IsPostBack to false.But i want IsPostBack as true..
    See more | Go to post

    Leave a comment:


  • Button click event taking ispostback=false on dialog close

    this is dialog open function and i am calling it from page behind.
    Code:
    function OpenDialog(url) {
               $('#searchDialog').dialog({
                    autoOpen: false,
                    width: 900,
                    height: 600,
                    modal: true,
                    open: function () {
                        $(this).load(url);
                    }
                });
               $('#searchDialog').dialog('open');
    ...
    See more | Go to post
    Last edited by Meetee; Jan 16 '13, 06:55 AM. Reason: Use code tags <code/> around code
No activity results to display
Show More
Working...