Skip to content Skip to sidebar Skip to footer

How To Submit Form Based On Certain Condition?

I have one form data.php with following form structure.
var x=Math.random();; if(x > 0.5)

Solution 1:

document.getElementById('theForm').submit();


Post a Comment for "How To Submit Form Based On Certain Condition?"