htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0: Re: [imegadeals] Adding a block of HTML Code: Edit Log



imegadeals
New User

Feb 19, 2005, 8:09 AM


Views: 8170
Re: [imegadeals] Adding a block of HTML Code

CoolOK... I figured it out. Here is what I came up with:

var myText = '<input type=button value=' + '"' + 'Click Here' + '"' + 'onclick=' + "'" + 'window.open' + '(' + '"' + 'http://www.imegadeals.com/go.php?url=' + '"' + ' + escape' + '(' + '"' + 'Place Link Here' + '"' + '))' + ';' + "'" + '>';
editor_insertHTML(objname, myText);


(This post was edited by imegadeals on Feb 19, 2005, 9:04 AM)


Edit Log:
Post edited by imegadeals (New User) on Feb 19, 2005, 9:03 AM
Post edited by imegadeals (New User) on Feb 19, 2005, 9:04 AM


Search for (options)