jd2007 Posted July 26, 2007 Share Posted July 26, 2007 how can i use php to take a text which is highlighted on a web page as a string ? Quote Link to comment Share on other sites More sharing options...
jd2007 Posted July 26, 2007 Author Share Posted July 26, 2007 for e.g. i want to use in a textarea. its something like this forum. when i type a text, i highlight it and i click the B button, it turns bold...i want a same concept like that...give me an idea/hint... Quote Link to comment Share on other sites More sharing options...
Dragen Posted July 26, 2007 Share Posted July 26, 2007 I haven't checked, but I think that's done using javascript. Quote Link to comment Share on other sites More sharing options...
ViN86 Posted July 26, 2007 Share Posted July 26, 2007 you could insert a blank <textarea> and have the person copy/paste the text they want into it, then submit it. 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.