Je voudrais faire apparaitre un composant textarea dans une fonction javascript, mais mon soucis est que cette fonction avec l'utilisation du Textarea ma fais planter mon IE, voici ma fonction :
Ma fonction me permet d'afficher un alt "interactif" s'affichant sur une image au passage de la souris.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31 function ReproExpert(IdDem,ReproEx) { if(ReproExpert.arguments.length < 2){ document.getElementById('ReproExpertLayer'+IdDem).style.display='none'; }else{ var content = '<table borderColor=#000000 cellSpacing=0 cellPadding=10 width="100%" border=1>'+ '<tbody>'+ '<tr>'+ '<td>'+ '<p>'+ '<table align=center border=0>'+ '<tr><td align=center><h4><span>Repro expert de la demande n°'+IdDem+' : <span></h4></td></tr>'+ // '<tr><td align=left><TEXTAREA name="ReproExpert" Cols=120 rows=4 maxlength=249 style="width:300; font-size: 8pt;" ReadOnly>'+ReproEx+'</TEXTAREA></td></tr>'+ '<tr><td align=left><TEXTAREA COLS="20">Coucou</TEXTAREA></td></tr>'+ // '<tr><td align=left><select multiple name=select size=10 style="width:300; font-size: 8pt"><OPTGROUP label='+ReproEx+'></OPTGROUP></select></td></tr>'+ // '<tr><td align=left><b>'+ReproEx+'</b></td></tr>'+ '<tr><td height=10px></td></tr>'+ '</table>'+ '</p>'+ '</td>'+ '</tr>'+ '</tbody>'+ '</table>'; if(ie4){ document.getElementById('ReproExpertLayer'+IdDem).innerHTML=content; document.getElementById('ReproExpertLayer'+IdDem).style.display='block' } } }
Partager