Working with live url in ERPNext


Is it possible in erpnext that if I am clicking on my custom button then it goes to the another URL?

I have an URL. And I want to go to that URL at a time of click on the button.

If it is possible then how it works?

use javascript,


window.location.href = "url"
1 Like