Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
glezmisael #1
Focus Function
Well I have a question that maybe someone out there would be able to answer.
I have a page named rfLogin.cfm
In this page I have a CFInclude to Logon.cfm
In this Logon.cfm I have two textboxes. I need to set the focus to the
Username Textebox that is on Logon.cfm
But One of the problems I have encounter is that the page it opens is
rfLogin.cfm which then calls Logon.cfm to include it onthe display.
How do I make the focus on the textbox??
I am desperate please!!!
glezmisael Guest
-
Focus
Hello! I have a grid that is derived from a datagrid control, and I was wondering about one thing. And I hope that it's possible. If I have... -
Popup; show, take focus, wait for button action, give focus, hide
Hi. I've got a popup MC for displaying a message or asking a yes/no question that has to do the following on an event: - show and take focus... -
focus/lost focus of custom control
Hi new to .NET and have a question. What I want to do if have a custome control (contains a table grid of text boxes) and multiple instances... -
set focus
Does the focus go to the first control in the tab order of the detail section by default? I need it to go to the header section. I'm having to use... -
G3 Focus and USM
Question: Will the unsharp mask always make an image appear sharper, no matter how sharp it is? I took a simple landscape photo on a bright day... -
mxstu #2
Re: Focus Function
<script type="text/javascript">
function focusOnUserName() {
document.loginForm.userName.focus();
}
</script>
<body onLoad="focusOnUserName();">
<form name="loginForm">
User: <input type="text" name="userName"><br>
Password: <input type="password" name="password"><br>
</form>
</body>
mxstu Guest



Reply With Quote

