taith Posted June 7, 2007 Share Posted June 7, 2007 say i have a function like so... function bold(id){ var tag='DivineBody'+id; tag.document.execCommand('bold', false, null); } activating that... will bold anything on the page... how do you restrict it to the DivineBody# tag? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.