mizrael ha scritto:
Ho provato proprio ora e mi funziona correttamente. Magari c'è qualche altro controllo all'interno della pagina che crea problemi.
Domanda: se si tratta solo di "accendere/spegnere" un controllo, perché non usi jQuery?
<table border="0" width="800px">
<tr>
<td colspan="3" align="center"><strong>Per chi acquista molto e in totale libertà</strong></td>
</tr>
<tr>
<td width="10px">
<asp:RadioButton ID="RadioButton1" runat="server" oncheckedchanged="RadioButton1_CheckedChanged" AutoPostBack="true">
</asp:RadioButton>
</td>
<td width="710px">
R1.Abbonamento1
</td>
<td width="80px">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="form2">
<asp:Panel ID="P_R1" runat="server" Visible="false">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="">
<input type="image" src="https://www.paypal.com/it_IT/IT/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - Il sistema di pagamento online più facile e sicuro!">
<img alt="" border="0" src="https://www.paypal.com/it_IT/i/scr/pixel.gif" width="1" height="1">
</asp:Panel>
</form>
</td>
</tr>
<tr>
<td>
<asp:RadioButton ID="RadioButton4" runat="server" AutoPostBack="true" OnCheckedChanged="puttanaeva"/>
</td>
<td>
</td>
<td></td>
</tr>
<tr>
<td width="10px">
<asp:RadioButton ID="RadioButton2" runat="server" AutoPostBack="true" oncheckedchanged="RadioButton2_CheckedChanged">
</asp:RadioButton>
</td>
<td width="710px">
R2.Abbonamento2
</td>
<td width="80px">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="form3">
<asp:Panel ID="P_R2" runat="server" Visible="false">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="">
<input type="image" src="https://www.paypal.com/it_IT/IT/i/btn/btn_subscribeCC_LG.gif" border="0" name="submit" alt="PayPal - Il sistema di pagamento online più facile e sicuro!">
<img alt="" border="0" src="https://www.paypal.com/it_IT/i/scr/pixel.gif" width="1" height="1">
</asp:Panel>
</form>
</td>
</tr>
</table>
io devo far comparire P_R1 e P_R2 che sono dentro a due form diversi, il primo mi funziona ma quando clicco du R2 mi refresha la pagina senza passare dalla sua classe onchecked.
Il problema può essere che oltre alla form di defaul ci siano queste altre due form per il pulsante paypal?
Perchè non funziona solo su IE8?
Sono disperato