| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
| 6:22 pm on Feb 7, 2011 (gmt 0)|
Am I crazy for trying this? I'm trying to create an onClick handler for an anchor, while looping through a JSON array which provides the data that the function requires.
newcontent += "<a href='#' onClick='CreateShareDialog('" + CategoryDisplayName + "', '" + CategoryShare_Picture + "';')>hey</a>";
Is there a better way to do this?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved