I have the following code:
var buttonOne = $("#buttonOne");
var buttonTwo = $("#buttonTwo");
// opens an already initialized modal window
(buttonOne, buttonTwo).click(function()
{
modalBoxContainer.dialog("open");
});
This is not working. It will work if I use the elements, but not with the variables.
Any ideas?