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? Link to comment https://forums.phpfreaks.com/topic/54599-restricting-functions/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.