Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AJAX panel with form, IE issues

Status
Not open for further replies.

spperl

Programmer
Mar 29, 2005
34
GB
Hi,

I have run into a problem on IE when trying to dynamically load a form into a panel. Here is the problem I have:

On page load I have a js function that loads an info panel via a jquery / AJAX request (e.g. 'panel1') to the web server.

Contents within 'panel1' should load and on selection of a radio button within 'panel1' a jquery / AJAX request is sent to the server to popuate 'panel2'

Code:
<div id="panel1">
</div>

<div id="panel2">
</div>

This works well on Firefox and Chrome however after 'panel1' loads the selection of the radio button has no effect on IE

Typically 'panel1' could return the following html...

Code:
<form>
	<input type="radio" name="panel1button" id="r1" value="val1" /> Val1
	<input type="radio" name="panel1button" id="r2" value="val2" /> Val2
</form>

I have a javascript include file pre-loaded and click handlers on the relevant radio buttons (q: do I need to include the relevant js in each panel??)

I assume this is a common IE problem and if so doees anyone have any pointers on what to do to fix this type of problem on IE?

Any help would be greatly appreciated.
 
Replied in thread215-1681598

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Should we guess what your Ajax is doing? Show us the code that is supposed to populate the second panel.


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Web & Tech
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top