otuatail Posted November 2, 2007 Share Posted November 2, 2007 Hi I have a web form that has several text boxes. Each time I goto the page, if I type the first charecter again, I get a list of auto complete hints to save me the trouble. This stopped working sometime ago and I could not find out how as I checked the latest code. I have discovered that it is IE7. Under FF Opera Netscape and Safari it works fine. Is this an option in IE7 I went to great lengths to create a session variable name on a new instance of the browser, so that it only showed me todays history. But now under IE7 It is gone? Desmond. Quote Link to comment https://forums.phpfreaks.com/topic/75770-auto-complete-hint/ Share on other sites More sharing options...
bache Posted November 2, 2007 Share Posted November 2, 2007 May be you cleared the history. Quote Link to comment https://forums.phpfreaks.com/topic/75770-auto-complete-hint/#findComment-383444 Share on other sites More sharing options...
otuatail Posted November 2, 2007 Author Share Posted November 2, 2007 No. I have just tried it again and it works in FF and not IE. What I do is this. if($_SESSION['SQL'] == "") $_SESSION['SQL'] = "SQL" . $stamp; AND <td colspan="6"><input type="text" name="<?=$_SESSION['SQL']?>" size="128"></td> So as long as the Browser session is in place, I will get a drop down list of previouse matches. If I close the browser down and open a new one, I get a fresh name for the text box, and efectivly a new history. quite smart as it doesn't get cluttered with thousands of old values. Desmond. Quote Link to comment https://forums.phpfreaks.com/topic/75770-auto-complete-hint/#findComment-383449 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.