/    Sign up×
Community /Pin to ProfileBookmark

Can someone help me figure this out

I own a “SimpleMachines Forum” in the forum it has a option to have a javascript popup to preview more smilies, so iam working on the javascript window that pops up i want to make a drop down menu to catergorize the smilies, i have the drop down menu made but when i copy the < a href tag it doesnt post the bb code to the orignal message window if someone is willing to help i can post the codes i just need to figure out how to make it on click send the info back to the orignal window

[CODE]

<a href=”javascript:void(0);” onclick=”window.opener.replaceText(&quot; :goodluck:&quot;, window.opener.document.forms.postmodify.message); window.focus(); return false;”><img src=”/divine/goodluck.gif” alt=”” title=”” style=”padding: 4px;” border=”0″ /></a>
[/CODE]

thats copied from the orignal tag from the orignal popup

thanks in advance

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@FangOct 02.2008 — This would appear more logical:window.opener.replaceText(':goodluck:', document.forms.postmodify.message)
×

Success!

Help @xxwckdxx spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...