Set Focus to Bottom of IFRAME element using JavaScript

Last Reply 3 months ago By dharmendr

Posted 3 months ago

how to focus cursor at end of the iframe body text.

<html>
<head runat="server">
</head>
    <iframe>
        <body> assgd fdsf dsf fds f dsfd svcvcvf  vcvcvf dvfv vvvs fdfdsfdsf
        </body
     </iframe>
</html>

I need to focus the cursor at the end of the line in iframe body when the page loads.

You are viewing reply posted by: dharmendr 3 months ago.
Posted 3 months ago

You can't display cursor on page. For displaying cursor you need to use TextBox.