...

View Full Version : error in javascript code... wont add url?



runnerjp
09-13-2008, 05:28 PM
what seems to be up with my code?


<a href="javascript:void(0);" onclick="surroundText('', '', document.myform.yourpost); return false;"><img style="border: none;" src="url.gif" alt="enterurl" /></a>

when click all i get is javascript:void(0);

Philip M
09-13-2008, 05:48 PM
What is the function surroundText()?

runnerjp
09-13-2008, 06:04 PM
well basicly i want it to do this

like the icons above when B is slected it makes it bold lol thats what this script is.. basicly the bbcode buttons



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum