Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Javascript dans une page CMS
 
PhilippeH
Jr. Member
 
Total Posts:  24
Joined:  2010-07-09
 

Bonjour,

Dans une page du CMS, je tape du code avex du javascript et le javascript disparait lors de l’enregistrement. Où est le problème ? C’est comme si il y avait une fonction d‘“épuration" du code. Un idée ?

Voici le code [removed]

<form> <select name="ListeUrl" size="1" onchange="if(this.value != ‘’){document.location.href = this.value}"><br>
<option selected="selected">-Selectionnez votre
information-</option>
<option value="information8.html">Diametre8</option>
<option value="information10.html">Diametre10</option>
<option value="information12.html">Diametre12</option>
<option value="information13.html">Diametre13</option>
<option value="information15.html">Diametre15</option>
<option value="information16.html">Diametre16</option>
<option value="information20.html">Diametre20</option>
<option value="information25.html">Diametre25</option>
<option value="information26.html">Diametre26</option>
<option value="information32.html">Diametre32</option>
<option value="information33.html">Diametre33</option>
<option value="information50.html">Diametre50</option>
</select></form>

Se transforme en :

<form> <select name="ListeUrl" size="1">
<option selected="selected">-Selectionnez votre
information-</option>
<option value="information8.html">Diametre8</option>
<option value="information10.html">Diametre10</option>
<option value="information12.html">Diametre12</option>
<option value="information13.html">Diametre13</option>
<option value="information15.html">Diametre15</option>
<option value="information16.html">Diametre16</option>
<option value="information20.html">Diametre20</option>
<option value="information25.html">Diametre25</option>
<option value="information26.html">Diametre26</option>
<option value="information32.html">Diametre32</option>
<option value="information33.html">Diametre33</option>
<option value="information50.html">Diametre50</option>
</select></form>

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top