Click here to Skip to main content
15,867,330 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: javascript _> activex passing by reference Pin
Manfred Rudolf Bihy19-Sep-12 2:06
professionalManfred Rudolf Bihy19-Sep-12 2:06 
GeneralRe: javascript _> activex passing by reference Pin
Manfred Rudolf Bihy19-Sep-12 2:12
professionalManfred Rudolf Bihy19-Sep-12 2:12 
QuestionCreate AD block functionality for my website Pin
swayam.test1.gmail10-Sep-12 19:58
swayam.test1.gmail10-Sep-12 19:58 
AnswerRe: Create AD block functionality for my website Pin
enhzflep11-Sep-12 22:06
enhzflep11-Sep-12 22:06 
QuestionHow does Google show_ads.js work? Pin
swayam.test1.gmail10-Sep-12 19:57
swayam.test1.gmail10-Sep-12 19:57 
QuestionHow to send request data from one tab to other tab which are on same jsp Pin
mayureshdh9-Sep-12 18:52
mayureshdh9-Sep-12 18:52 
Questionjavascript/jquery Pin
chaim_zvi8-Sep-12 8:50
chaim_zvi8-Sep-12 8:50 
Questionshow alert in javascript and not continue Pin
ptvce6-Sep-12 21:26
ptvce6-Sep-12 21:26 
hi
i use this code:
XML
<script type='text/javascript'>
        function ValidateFileSize(strFUS) {
            var filename = document.getElementById('<%=fuSignature.ClientID%>');

            var myFSO = new ActiveXObject("Scripting.FileSystemObject");

            var filepath = filename.value;

            var thefile = myFSO.getFile(filepath);

            var size = thefile.size;

            if (size / 1024 < 110)
                return true;
            alert('the size of file is big');
            return false;

        }


</script>


this code is work and show me the alert but when i click on ok button in allert box the file uploadbut i want it not be upload.
what should i do?
plz
AnswerRe: show alert in javascript and not continue Pin
J4amieC6-Sep-12 22:11
J4amieC6-Sep-12 22:11 
GeneralRe: show alert in javascript and not continue Pin
ptvce6-Sep-12 22:30
ptvce6-Sep-12 22:30 
AnswerRe: show alert in javascript and not continue Pin
MKAdeel13-Sep-12 1:22
MKAdeel13-Sep-12 1:22 
GeneralRe: show alert in javascript and not continue Pin
ptvce16-Sep-12 20:22
ptvce16-Sep-12 20:22 
QuestionPython Pygame Newbie Code Help Pin
johtnkucz31-Aug-12 12:14
johtnkucz31-Aug-12 12:14 
QuestionProgress Bar Pin
Manish K. Agarwal31-Aug-12 3:33
Manish K. Agarwal31-Aug-12 3:33 
AnswerRe: Progress Bar Pin
C-War1-Sep-12 4:50
C-War1-Sep-12 4:50 
GeneralRe: Progress Bar Pin
Manish K. Agarwal2-Sep-12 19:22
Manish K. Agarwal2-Sep-12 19:22 
AnswerRe: Progress Bar Pin
twseitex2-Sep-12 8:24
twseitex2-Sep-12 8:24 
GeneralRe: Progress Bar Pin
Manish K. Agarwal2-Sep-12 19:51
Manish K. Agarwal2-Sep-12 19:51 
GeneralRe: Progress Bar Pin
twseitex4-Sep-12 3:18
twseitex4-Sep-12 3:18 
Questionget the checkbox index or table row index with javascript Pin
osman makhtoom30-Aug-12 13:01
professionalosman makhtoom30-Aug-12 13:01 
AnswerRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 13:26
enhzflep30-Aug-12 13:26 
GeneralRe: get the checkbox index or table row index with javascript Pin
osman makhtoom30-Aug-12 13:45
professionalosman makhtoom30-Aug-12 13:45 
GeneralRe: get the checkbox index or table row index with javascript Pin
enhzflep30-Aug-12 14:36
enhzflep30-Aug-12 14:36 
GeneralRe: get the checkbox index or table row index with javascript Pin
osman makhtoom30-Aug-12 19:51
professionalosman makhtoom30-Aug-12 19:51 
GeneralRe: get the checkbox index or table row index with javascript Pin
BobJanova30-Aug-12 22:48
BobJanova30-Aug-12 22:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.