We have a web part on a page that refers to a simple list with two fields: Title and URl. Obviously, this list is used by the end user to show links to various items (google, etc) on the web part in the page.
When linking to an actual form though, the form loads as a new page rather than a ModalDialog box. This is undesirable.
I have modified this code to attempt to modify the anchor tag's href attribute to point to a showmodaldialogbox() instead. The following is the code:
Problem is, it will not display anything except a new page with [Object][Object] showing. As a test, I would like to load google into a modal dialog box, and work from there. Any ideas why this almost works, but no cigar for me?