Hi Team,
In my crm portal profile page i have added cancel button using custom jaavscrpt
- $(document ).ready(function() {
- //Add cancel button next to update button
- $('#ContentContainer_MainContent_MainContent_ContentBottom_SubmitButton').after('<input type="button" value="Cancel" onclick="OnCancelClick()" id="CancelButton" class="btn btn-primary"/>')
- });
- //Navigate to home page on Cancel Click
- function OnCancelClick()
- {
- window.location.href="/";
- }
Button added but there is no space between Update & cancel like below
Please help here