Page is a not externally linkable
nelsonm - 8:22 pm on Jul 2, 2012 (gmt 0)
What i'd like to do is bind the click method to the button in the ui-dialog-buttonpane who's span element text is "Submit". This way the click method will always work on the submit button even if another button is added to the dialog iu-dialog-buttonpane.
The only unique thing in the dynamically generated jquery dialog button pane is the name of the buttons contained as text in the span tag for each button.
I just can't figure out if this can be done.