carthik
05-03-2006, 09:59 AM
Hi I am a newbie to JavaScripting
I have a doubt .. How do i Convert the ElementID to String .
I have to make some string Manipulations from then
For example
If the Element Id is menu2
Then i get it using event.srcElement.id and store it in a variable x
Then I have to convert this x value to menu2text
and then I have to convert the string back to Id
so that i can use menu2text.style.background property
Is it possible .
I have a doubt .. How do i Convert the ElementID to String .
I have to make some string Manipulations from then
For example
If the Element Id is menu2
Then i get it using event.srcElement.id and store it in a variable x
Then I have to convert this x value to menu2text
and then I have to convert the string back to Id
so that i can use menu2text.style.background property
Is it possible .