V
Vincent Jones
How can i obtain the same results if I do this in AsP
<select onchange="if (this.selectedIndex > 0) {
if (document.all)
document.all.aP.style.fontFamily = this.value,
document.all.aP.style.fontSize='10mm',
document.all.aP.style.color='red';
else if (document.getElementById)
document.getElementById('aP').style.fontFamily =
this.value;
}"<option>Select a font</option>
<option value="Arial">Arial</option>
<option value="Helvetica">Helvetica</option>
<option value="Verdana">Verdana</option>
</select>
<p id="aP">
Hello world.
</p>
<select onchange="if (this.selectedIndex > 0) {
if (document.all)
document.all.aP.style.fontFamily = this.value,
document.all.aP.style.fontSize='10mm',
document.all.aP.style.color='red';
else if (document.getElementById)
document.getElementById('aP').style.fontFamily =
this.value;
}"<option>Select a font</option>
<option value="Arial">Arial</option>
<option value="Helvetica">Helvetica</option>
<option value="Verdana">Verdana</option>
</select>
<p id="aP">
Hello world.
</p>