sphinx1994
06-17-2009, 07:06 AM
Hello,
Here is the javascript i am currently using:
<script type = "text/javascript">
var flag = 0;
function dis() {
document.getElementById("but1").value = "Your files are being uploaded..please wait.";
if (flag == 0) {
flag = 1;
return true;
}
else {return false}
}
</script>
with this:
<input type="submit" id = "but1" readonly value=" Upload File(s) " onclick = "return dis()" />
How would i also make it so it refreshes a page on an iframe below aswell as submit upload, i need it to link to: pleasewait.html, which ive named image loader, so somehow it needs this in it: target="imageloader"
Thanks
Here is the javascript i am currently using:
<script type = "text/javascript">
var flag = 0;
function dis() {
document.getElementById("but1").value = "Your files are being uploaded..please wait.";
if (flag == 0) {
flag = 1;
return true;
}
else {return false}
}
</script>
with this:
<input type="submit" id = "but1" readonly value=" Upload File(s) " onclick = "return dis()" />
How would i also make it so it refreshes a page on an iframe below aswell as submit upload, i need it to link to: pleasewait.html, which ive named image loader, so somehow it needs this in it: target="imageloader"
Thanks