Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set focus issue
Message
From
30/04/2010 00:31:07
 
 
To
All
General information
Forum:
Internet
Category:
Javascript
Title:
Set focus issue
Miscellaneous
Thread ID:
01462488
Message ID:
01462488
Views:
89
Because I am using the redirection of a form into an IFRAME and uses DHTML to refresh the page where the form sits into, this has somewhat an effect on the events in regards to the javascript. I have a very simple set focus code to set the focus into the search field. But, when being used like this, I have to add an alert() so to see the cursor in the field. Otherwise, the cursor is not there.
alert("focus1")
document.Form1.Search.focus()
So, I believe I have to replace the alert() with some kind of javascript related code which would set the focus into that page. As, because the post was redirected into an IFrame, the focus cannot be set elsewhere. Anyone would know how to do it?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform