I am trying to open a URL in a shadowbox via submit-button.
But this way seems to be wrong - any idea?
you would probably be better putting this in a function itself and calling the function from onclick
however try this
// open a welcome message as soon as the window loads
title: "Click Me",