Your welcome Dimitry, today I help you tomorrow you help me or another person.
>Alexandre,
>
>Thank you very much! You have been super helpful and I appreciate it so much.
>
>>
>>If (document.getElementById("mycontrol"))
>> {
>> javascript code here
>> }
>>
>>>If you use document.getElementById("mycontrol") but control "mycontrol" does not exist or is invisible, the browser shows "Error on the Page" and terminates the javascript function.
>>>
>>>How can I determine if such and such control exist so that I don't get the error?
>>>
>>>Thank you.
Alexandre Palma
Senior Application Architect