www.webdeveloper.com
Results 1 to 4 of 4

Thread: FileExists/Function Problem

Threaded View

  1. #1
    Join Date
    Jul 2012
    Posts
    32

    Question FileExists/Function Problem

    I Am Running Into A Problem And Have Narrowed It Down To This Function, As You Can See I Have Tried To DeBug it (some remains are the commented out areas), But I Cannot Figure Out What Is Wrong, Thank You For Your Help!!
    Code:
    		function Check3() {
    			Name2 = document.getElementById('Name').value;
    			FEN = Name2+'.html';
    			//alert ('Check3');
    			if ((EN = 'EN') || (ECN == 'ECN')) {
    				if (FileExists(FEN) == True) {
    					EFE();
    					alert ('IF');
    					}
    				else {
    					alert ('ELSE');
    					lastcheck();
    					};
    				};
    			//lastcheck();
    			//alert ('AFTER LAST CALL');
    			};
    Last edited by iGeekiHackiMatt; 07-21-2012 at 09:27 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles