Asom, pay attention to the url where you are doing your testing/coding.
If you are working in a local environment such as XAMPP or WAMP, you will need to make sure both the files you are using are stored within the "root" directory. Next, you need to ensure that you change the link as follows:
Otherwise, if you have your own website and are hosting those pages online, then you need to use your website's address in place of "localhost" in the above link. For example if you were testing those pages on codecall.net, you would use the link as http://www.codecall.net/start2.php