Re: Notification of listbox selection change

From: Date: Thu, 09 Jan 2014 19:29:03 +0000
Subject: Re: Notification of listbox selection change
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-322662@lists.php.net to get a copy of this message
Larry Martell wrote: > Like I said, I totally understand how your code works. This is not a > new app I am developing from scratch. It's a big existing app that was > written a long time ago. Currently when the user makes selections they > have to click on a submit button. I was asked to make it so that their > selections take effect immediately and to get rid of the submit > button. The easiest thing for me to do was to call the same php code > that get called when the submit button is clicked. I have it working, > I just need to find a workaround for IE. Apparently innerHTML is > read-only in IE. I've read that using jQuery gets around this. But > jQuery is not installed on my client's sites. You do not want to replace the innerHTML of the HTML element -- instead simply relocate (google for window.location or see my last reply) to the desired "page" (and forget about the Ajax stuff for this scenario). -- Christoph M. Becker

« previous php.general (#322662) next »