K
Kevin S. Goff
Hi....I realize this is a really basic question....
I have a webform (in VS.NET 2005). It has (among other things) a
combobox and a command button. At the beginning, the command button
is disabled....on the selectedindexchanged event of the combobox, I
want to enable the command button
Only way I know to do it is in the code-behind .CS file with a
postback, but I'd rather do it with Javascript....except I really
don't know the syntax very well.
Assuming my two controls were cboItem and btnSave, what would the
syntax be (in the HTML) to enable btnSave when cboItem changes?
Thanks a lot in advance,
Kevin
I have a webform (in VS.NET 2005). It has (among other things) a
combobox and a command button. At the beginning, the command button
is disabled....on the selectedindexchanged event of the combobox, I
want to enable the command button
Only way I know to do it is in the code-behind .CS file with a
postback, but I'd rather do it with Javascript....except I really
don't know the syntax very well.
Assuming my two controls were cboItem and btnSave, what would the
syntax be (in the HTML) to enable btnSave when cboItem changes?
Thanks a lot in advance,
Kevin