Click here to Skip to main content
       

JavaScript

 
GeneralRe: javascript _> activex passing by reference PinmvpManfred R. Bihy19-Sep-12 3:06 
GeneralRe: javascript _> activex passing by reference PinmvpManfred R. Bihy19-Sep-12 3:12 
QuestionCreate AD block functionality for my website Pinmemberswayam.test1.gmail10-Sep-12 20:58 
AnswerRe: Create AD block functionality for my website Pinmemberenhzflep11-Sep-12 23:06 
QuestionHow does Google show_ads.js work? Pinmemberswayam.test1.gmail10-Sep-12 20:57 
QuestionHow to send request data from one tab to other tab which are on same jsp Pinmembermayureshdh9-Sep-12 19:52 
Questionjavascript/jquery [modified] Pinmemberchaim_zvi8-Sep-12 9:50 
Questionshow alert in javascript and not continue Pinmemberptvce6-Sep-12 22:26 
hi
i use this code:
<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 PinmemberJ4amieC6-Sep-12 23:11 
GeneralRe: show alert in javascript and not continue Pinmemberptvce6-Sep-12 23:30 
AnswerRe: show alert in javascript and not continue PinmemberMKAdeel13-Sep-12 2:22 
GeneralRe: show alert in javascript and not continue Pinmemberptvce16-Sep-12 21:22 
QuestionPython Pygame Newbie Code Help Pinmemberjohtnkucz31-Aug-12 13:14 
QuestionProgress Bar PinmemberManish K. Agarwal31-Aug-12 4:33 
AnswerRe: Progress Bar PinmemberC-War1-Sep-12 5:50 
GeneralRe: Progress Bar PinmemberManish K. Agarwal2-Sep-12 20:22 
AnswerRe: Progress Bar Pinmembertwseitex2-Sep-12 9:24 
GeneralRe: Progress Bar PinmemberManish K. Agarwal2-Sep-12 20:51 
GeneralRe: Progress Bar Pinmembertwseitex4-Sep-12 4:18 
Questionget the checkbox index or table row index with javascript Pinmemberosmanjan30-Aug-12 14:01 
AnswerRe: get the checkbox index or table row index with javascript Pinmemberenhzflep30-Aug-12 14:26 
GeneralRe: get the checkbox index or table row index with javascript Pinmemberosmanjan30-Aug-12 14:45 
GeneralRe: get the checkbox index or table row index with javascript Pinmemberenhzflep30-Aug-12 15:36 
GeneralRe: get the checkbox index or table row index with javascript Pinmemberosmanjan30-Aug-12 20:51 
GeneralRe: get the checkbox index or table row index with javascript PinmemberBobJanova30-Aug-12 23:48 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 25 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid