Making a textarea look like a sheet of line paper
Moderator: General Moderators
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Making a textarea look like a sheet of line paper
I need to make a textarea look like this:
__________________________
__________________________
__________________________
__________________________
Similar to a sheet of paper or what they look like in Lynx.
I have a couple of different ideas on how to create the illusion of this but nothing solid.
Any ideas?
I was thinking about using multiple input fields and some JS to move the cursor.
__________________________
__________________________
__________________________
__________________________
Similar to a sheet of paper or what they look like in Lynx.
I have a couple of different ideas on how to create the illusion of this but nothing solid.
Any ideas?
I was thinking about using multiple input fields and some JS to move the cursor.
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Code: Select all
document.getElementById( 'elementid' )I believe that's the oposite of what he needs... he said get the id not get the element by the id.wtf wrote:?Code: Select all
document.getElementById( 'elementid' )
- daedalus__
- DevNet Resident
- Posts: 1925
- Joined: Thu Feb 09, 2006 4:52 pm
Yes, that is what I meant.The Ninja Space Goat wrote:I believe that's the oposite of what he needs... he said get the id not get the element by the id.wtf wrote:?Code: Select all
document.getElementById( 'elementid' )
I can not find anything about it.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
You could try googling 'get the ID of an element'. It was not incredibly helpful, but there was one link that might help ...
http://www.faqts.com/knowledge_base/vie ... /aid/20744
http://www.faqts.com/knowledge_base/vie ... /aid/20744