Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript HTML Progress bar Reply To: HTML Progress bar

#146507
kanshul2013
Participant

Is a more straight forward solution possible?

I added the below Javascript function

<script>
    function formSubmit() {
        document.getElementById("import_form").submit();
        document.body.style.cursor = "crosshair";
    }
</script>

and in HTML

<input type="button" value="Upload" onclick="formSubmit()" class="button-style" />

This works fine but the only problem is that cursor change is not very prominent to the user. Is it possible to make it bit more prominent, like having a red color circle going round etc. without adding too much complexity.