In my sharepoint article page im using noteboard comments webpart .In this webpart user can enter the comments they will click the POST button.
in this post button below sharepoint default code is running."
javaScript:
if (!ctl00_ctl51_g_1610400d_2df5_404b_a505_4734864683f9_ctl00scManager.CheckPostComment()) return false; WebForm_DoCallback('ctl00$ctl51$g_1610400d_2df5_404b_a505_4734864683f9$ctl00',ctl00_ctl51_g_1610400d_2df5_404b_a505_4734864683f9_ctl00scManager.StartPostingRequest(),EndPostingRequest,ctl00_ctl51_g_1610400d_2df5_404b_a505_4734864683f9_ctl00scManager,EndWithErrorResult,true); return false;"
but in my requirement i need to call the another jquery/javascript funtion.can anyone help on this how to call post button click another function also initaite.it like parrel process.


Krishna MurthyRank #1,919 · 764 reputationPosted Aug 6, 2015, 9:41 PM EDT
Add a script editor or if there is one already, call PreSaveAction function of sharepoint. This function will pre action the functionality you specify
Krishna MurthyRank #1,919 · 764 reputationPosted Aug 6, 2015, 9:41 PM EDT