0 Replies Latest reply on May 1, 2013 11:43 PM by Naren1224

    Add scrolling attribute for iframe

    Naren1224 Level 1

      Hi,

       

      I have the below HTML

      <div class= "a">

      <iframe src="http://abc.html" width="100%" height="100%"> </iframe>

      </div>

       

      In IE I'm seeing a scrollbar for the iframe.

      Can we add an attribute scrolling=no dynamically using jQuery.

       

      I tried the below

      $("iframe:contains('src')").attr('scrolling', 'no');

      $ (".a").setAttribute("scrolling", "no");

      $('iframe').attr("scrolling", no);

       

      Thanks,

      Naren.