Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3338
finding the name of the button on the toolbar...
posted

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.

<script type="text/javascript" id="igClientScript">

<!--

function tlbrMain_Click(oToolbar, oButton, oEvent){

//Add code to handle your event here.

if (oButton.valueOf = "back")

 history.go(-1);

return false;

 

}

// -->

</script>

 

Parents
No Data
Reply Children
No Data