Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set focus issue
Message
De
30/04/2010 00:31:07
 
 
À
Tous
Information générale
Forum:
Internet
Catégorie:
Javascript
Titre:
Set focus issue
Divers
Thread ID:
01462488
Message ID:
01462488
Vues:
90
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform