Answer:
Both are Client-side Javascript event but OnClientClick is a server-side control property whereas onclick is a Client-side or HTML control Javascript event and both events are used to to call Javascript function.But there is only one difference between both that is we can use OnClientClick for Server controls and onclick event for HTML controls.
Asked In: Many Interviews |
Alert Moderator