javascript thread: How do I detect if a textarea is readonly.
Dear All,
I finally figured out how to resolve the issue by creating a string! and using eval function..
The problem is the PeopleSoft application creates a page (with all objects names & id's). It does provide me with the ability to
use HTML areas on the page so that I can put objects and JavaScript on the page. However, I cannot access the code used to creat
objects on the page ( it is all encrypted) hence all I can do is create code to examine the page after it is built if I wish to add
functionality.
I've got a new challenge however so here goes...
Is it possible to follow object focus. Can I find out what object has the current focus and stick it's id into an array. The idea is
to be able to take a textarea and pump its text out into a larger window for editing I can do this for a named textarea but it would
be nice to be able to put focus on a textarea and then push a button so I can edit that text area. Given there are multiple text
areas on a page and I don't know their names....I thought that creating a variable and storing which object had the previous focus
might be a neat way round the problem.
Any suggestions from anyone out there would be appreciated....
Many thanks...
Steve
MSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*.