I have a clientside script
<script type="text/javascript" id="igClientScript">
<!--
function tlbrMain_Click(oToolbar, oButton, oEvent){
I need to find the name assigned to a button on the toolbar..
I tried valueOf and toString. but they produce an object...
How can I find the name of the button pressed on the toolbar?
I want to fire some script if it is pressed.
//Add code to handle your event here.
if (oButton.valueOf = "back")
history.go(-1);
return false;
}
// -->
</script>
WebToolbar buttons don't have a "Name" property. I'm assuming you're looking for the "Key" property instead? If so, use "oButton.Key".