i have define a function in design function showMessage(message) { $('#fail').html(message).animate({ height: '150px' }, 'slow'); } how to call this from c# thanks for your time ...