javascript problem

  • Thread starter Thread starter mike
  • Start date Start date
M

mike

if (eval("submenu_"+name) != null)

i'd like to check eval("submenu_"+name) is whether null or not null
but there is error before null checking if eval("submenu_"+name) is not
exsit
how should i do??
 
just use try catch blocks as a quickiest solution..

--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top