i have javascript function to
1-conform submittion of form
2-validate textboxes filled or not
3-submit <form>
above 3 tasks are done in the same function.
IE works fine
Google chrome, Firefox, Opera, Safari works half
means submit form does not working
my function is below
function abc()
{
var c=confirm("Do u want to process?");}
if(c)
{
var a = document.getElementById("txtName").value;
if(a.length==0)}
{
alert ("Enter your name please...");
}
else
{
document.forms("myform").submit();
}


Reply With Quote

Bookmarks