Results 1 to 2 of 2

Thread: insert from popup

  1. #1
    Join Date
    Jul 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default insert from popup

    I have worked out how to insert from the popup

    <a href="javascript:window.opener.document.FORMNAME.FIELDNAME.value='set here';window.close();">"link"</a>

    But this overwrites all existing.
    How do I add my new value to existing content?

    I am short on knowledge and the above string is more accident than anything else so please feel free to suggest alternatives.

    I am building a 'insert special character' table - all the math bits and greek and such.
    I have tried working with smiley and calendar equivalents but can't seem to pull out the necessary.

    thanks

  2. #2
    Join Date
    Jul 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    got it sorted

    Use the "+=" operator instead of the plain assignment ("=") operator.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •