On Thu, Jan 9, 2014 at 12:48 PM, Jim Lucas <lists@xxxxxxxxx> wrote: > On 01/09/2014 11:14 AM, 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. >> >>>> >>>> I understand how your code works. My application is slightly >>>> different. My page looks like this: >>>> >>>> <html> >>>> <head> >>>> <title>Main </title> >>>> </head> >>>> <frameset frameborder=1 border=1 rows="140,*"> >>>> <frame src="mainheader.php> >>>> <frameset frameborder=1 border=1 cols='75%,25%'> >>>> <frame src="main.php" name="main"> >>>> <frame src="selection.php" name="selection"> >>>> </frameset> >>>> </frameset> >>>> </html> > > > Set a target on your form and add onchange="this.form.submit()" to your > select element. > > http://www.w3.org/TR/html401/present/frames.html#h-16.3 > > Checkout this: > http://www.cmsws.com/examples/php/testscripts/larry.martell@xxxxxxxxx/ OMG! That is ridiculously simple! Works perfectly. Thank you very much!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php