I have the following in a page:
What I want is a link which when it is clicked the contents of that div are selected/highlighted...Code:<div id="text"> This is the text contents </div>
How can this be done?
Thanks
I have the following in a page:
What I want is a link which when it is clicked the contents of that div are selected/highlighted...Code:<div id="text"> This is the text contents </div>
How can this be done?
Thanks
Web Development Tutorials
- Photoshop, CSS, PHP & more...
Why not use a text box?
Free MySpace Layouts- Coming soon
Photoshop Tutorials- Coming soon
Premium PHP Scripts- Coming soon
Haha i should really do some work so i can remove all the coming soon's
Because I dont want to use a text box
That would be way too easy
I want it to selectd the contents of a div so I can use it on actual page content where theye could be quite a lot of - I dont want to have a textbox filling up the entire page just so it can be selected...
Web Development Tutorials
- Photoshop, CSS, PHP & more...
I don't think it is possible to maniplulate selections outside of form elements.
Oh...
Ok...
Thanks anyway
Web Development Tutorials
- Photoshop, CSS, PHP & more...
There are currently 1 users browsing this thread. (0 members and 1 guests)