If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Disable Reprompt Button After Click

Started by dys, 19 Apr 2007 02:42:33 PM

Previous topic - Next topic

dys

I'd like to disable a Reprompt button after clicking it, but I'm not sure of the javascript syntax to access the button to do this. Any help would be much appreciated...

kattaviz

Hi,

Give a name to the button,insert a HTML item and create a function in javascript in thae HTML item with the syntax given below.
------------------------------------------------
function buttonClick()
{
document.form1.but.disabled = true;

}
</script>
-------------------------------------------------
Here i had named the Form as "form1" and button as "but"


hth

thanks & regards
Satish Katta