shanuragu
09-02-2003, 02:46 AM
Hi
Is it possible to call more than one javascript functions for a single onclick event of a submit button/any html elements which support onclick event??
ex.
<script>
function toggleServices(sId)
{}
function checkValues(sId)
{}
</script>
<input type="submit" name="Save" value="Save" onclick="toggleServices(service_id); checkValues(service_id);">
Is the above code valid???
shara
Is it possible to call more than one javascript functions for a single onclick event of a submit button/any html elements which support onclick event??
ex.
<script>
function toggleServices(sId)
{}
function checkValues(sId)
{}
</script>
<input type="submit" name="Save" value="Save" onclick="toggleServices(service_id); checkValues(service_id);">
Is the above code valid???
shara