Re: Access is denied JavaScript error

  •  06-13-2007, 2:44 PM

    Re: Access is denied JavaScript error

    There is a {TAG} button( a.k.a. Image1), which is used to insert mail merge tags into the document; it has this attribute:

    Image1.Attributes("onClick") = "var t = document.Form_ChooseLetter.txtSelectedTag.value; var e = CuteEditor_GetEditor(this); e.PasteHTML(t);"

    The user has to select a tag, click on the place the document where they want to add the tag, then click the {TAG} button.

    If there was some way to maintain the cursor position in the Editor document when the Editor control loses focus, this could be a one step process (i.e. click on the tag you want to add while editing the document).  Is there?

    James


View Complete Thread