Hi thnks for your help.
The other JS works really well OnClick (or OnChange) but this new requirement is that last stage in the process.
I have a serise of forms that a RequestForm call from the previous.
I am just trying to neaten up one forms. If there is no data called from the previous one then I don't want to shown an empty div.
Sorry about all the questions. I actually write databases and do the data-analasis for our Co. But with the cut backs the IT dept is now just 4 people (there were 12 last year), so I have been asked (told) to upgrade the on-line systems and lets just say it is a steep learning curve.