I just wrote a simple solution.
Please try it.
#####THE JAVASCRIPT CHECK
function check() {
okSoFar = true;
check1 = document.insertlocation.lid.value;
check2 = obj_ledscription.getHTML();
if ((check1 == "") || (check2 == ""))
{alert("You need to enter some values to submit.");
okSoFar=false;
}
//-- If all fields OK go ahead and submit the form and put up a message.
if (okSoFar==true) {
document.insertlocation.submit();
}
}
Keep me posted.
asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
asp wysiwyg html editor: http://cutesoft.net/ASP
asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
Live Support: http://cutesoft.net/live-support/default.aspx