All pastes #407744 Raw Edit

Anonymous

public javascript v1 · immutable
#407744 ·published 2007-03-24 09:02 UTC
rendered paste body
<script type="text/javascript">var TDCount = -1;		function validateDriverForm(driverSummary) {var driverType = driverSummary.driverType["+(TDCount)+"].options[driverSummary.driverType["+(TDCount)+"].selectedIndex].text;	if (driverType == "-- Please Select --") {        alert("You must select a Paper Category from the list");        driverSummary.driverType["+(TDCount)+"].focus();        return false;	}}</script>