Hi,
I need to get a table in javascript n i wrote this code:
//mainMenu is the table name
var x = document.getElementById("mainMenu")
//then i need to get it's left margin so i wrote
var x = document.getElementById("mainMenu").style.marginLeft;
But it is giving error that x is null. Can any one please correct it?
Thanks for your time
Regards