Confirm In Gridview For Update?

hi my friends

how defind 1 confirm in gridview for update button??

thanks

Extends CButtonColumn column

thanks, But I’ve done it before and now I want to define Confirm for UPDATE button.

You need to define a class for the view button and then use jquery to confirm




<a href="/update&id=10" class="updatebtn">Update</a>

<script>

$(document).ready(function(){

 $('.updatebtn').on('click',function(){

// your confirmation code....

});

});

</script>