Re: Insert Hyperlink browse button

  •  10-29-2008, 5:14 PM

    Re: Insert Hyperlink browse button

    Could anyone provide me with a little direction on this? 
    How do I return information to the insert hyperlink dialog and set the text property of the inp_src textbox on the tag_a.ascx page from the dialog window opened by the tag_a.ascx?

    I have tried using opener.document.getelementbyid("inp_src").text = value, but this does not work.

    Also, I followed the above advice and created a function to handle the onclick event on the browse button, but how do i get it to open as a part of the current page instead of a seperate window? I have tried to do this but it doesn't work:

    var editor=CuteEditor_GetEditor(button);
    var newwin=editor.ShowDialog(null,"CuteSoft_Client\\CuteEditor\\Dialogs\\MTC_InsertLink.aspx?_rand=" + new Date().getTime() + "&g=<%=Me.GID%>&a=<%=Me.BaseAID%>",editor,"dialogWidth:450px;dialogHeight:450px");

    Not sure what I am missing. Please help! 
     
View Complete Thread