onclick attribute js function code example
Example: javascript onclick
document.getElementById("Save").onclick = function ()
{
alert("hello");
//validation code to see State field is mandatory.
}
document.getElementById("Save").onclick = function ()
{
alert("hello");
//validation code to see State field is mandatory.
}