Link to home
Start Free TrialLog in
Avatar of timburkart
timburkart

asked on

getElementById doesn't work for RSFormPro in Joomla 1.5

I am working on an RSFormPro project with a javascript function to populate a dynamic drop down list based on the current date and time. The drop down list function is triggered at page load time. The problem is that the id referenced by getElementById is null at load time. I have tried both

window.onload=generateoptions(document.getElementById('trainingSession')); 

Open in new window

and
window.addEvent('domready', function() {
generateoptions(document.getElementById('trainingSession'));
});

Open in new window


Here is a link to the problem.

I  have opened a support ticket with RSJoomla (the RSFormPro developer) but due to time zone differences am seeking help here.

Are there any experts with RSFormPro experience that can help me?

Thank you!!
ASKER CERTIFIED SOLUTION
Avatar of stergium
stergium
Flag of Greece image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of timburkart
timburkart

ASKER

Wow!! That works! Fabulous!