Summary : How to Create Custom Button in CRM Portals EntityForm or WebForm
Code:
$(document).ready(function () {
var editbtn = $('<input/>').attr({ type: 'button', name: 'Edit', value: 'Edit', id: 'edittBtn', class: 'submit-btn btn btn-primary' });
// InsertButton is for the Create Form, if you want for update form use the UpdateButton
$("#InsertButton").after(editbtn);
$("#edittBtn").click(function () {
// Implement the button click logic.
});
});
Code:
$(document).ready(function () {
var editbtn = $('<input/>').attr({ type: 'button', name: 'Edit', value: 'Edit', id: 'edittBtn', class: 'submit-btn btn btn-primary' });
// InsertButton is for the Create Form, if you want for update form use the UpdateButton
$("#InsertButton").after(editbtn);
$("#edittBtn").click(function () {
// Implement the button click logic.
});
});
thanks for sharing this information
ReplyDeleteaws training center in chennai
aws training in chennai
aws training institute in chennai
best angularjs training in chennai
angular js training in sholinganallur
angularjs training in chennai
azure training in chennai