bg380 Posted November 29, 2007 Share Posted November 29, 2007 I'm trying to display a bunch of lines of text one line at a time, like a code printout, and allow the user to select one of the lines by clicking on it. Obviously, the displaying part isn't so hard. But i'm not sure how to select and highlight a whole line with a single click, or how to figure out which line has been selected afterwards. How does one normally do something like this? Link to comment https://forums.phpfreaks.com/topic/79405-selecting-a-line-of-text/ Share on other sites More sharing options...
aschk Posted November 29, 2007 Share Posted November 29, 2007 Use CSS with a hidden radio selection (or similar). Link to comment https://forums.phpfreaks.com/topic/79405-selecting-a-line-of-text/#findComment-401997 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.