Stoke
asked on
Prototype - replace submit button with text in a table.
I have a table of results. One row has a submit button. Ive written code to execute a JSON call and I can easily change disable the button and change the text:
function lockButton(buttonClicked) { // Lock button so it cannot be pressed again.
$(buttonClicked).disable() ;
$(buttonClicked).value='Pr ocessing.. .'; }
But, ideally Id like to replace the button with text. The button is in a cell:
$$('table#resultTable td#action_1)
Unfortunately I cannot work out the correct syntax to replace the button with text. How do I correct my problem?
Thank you for any time and help.
function lockButton(buttonClicked) { // Lock button so it cannot be pressed again.
$(buttonClicked).disable()
$(buttonClicked).value='Pr
But, ideally Id like to replace the button with text. The button is in a cell:
$$('table#resultTable td#action_1)
Unfortunately I cannot work out the correct syntax to replace the button with text. How do I correct my problem?
Thank you for any time and help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER