I have quite a few popup reports that have some required text fields. How can I focus the users cursor in the first text box when it loads?
How can I focus the cursor on a new report?
(4 posts) (2 voices)-
-
Hi,
what is the content of the report when it loads: a parameter query or a dbr.editable-content?--
myDBR Team -
parameter query
-
You can do something like:
<script type="text/javascript"> $(document).ready(function() { setTimeout('$("#popup_u1").focus();', 100); }); </script>
In the Help/JavaScript field for the linked report. Adjust the popup and u1 if you are using different name for the popup or if you have other parameters that do already have a value.
--
myDBR Team
Reply
You must log in to post.