-3

Hello guys i kind of a javascript newbie. Here is my problem

<html>
  <head>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
  </head>
  <body>
  <iframe name='frmExternal' id='frmExternal' src='www.dynamically-changing-url.com'></frame>
  </body>
</html>  

I want to get the current url in the iframe where the user browse along.

adityakce
  • 3
  • 1

1 Answers1

2
   document.getElementsByName('frmExternal')[0].src
raam86
  • 6,785
  • 2
  • 31
  • 46