Bonjour,

J'ai ceci :
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
<script>
var currTable = this.opener.IBM_RTE_getTable("<%= editorName %>");

var width = currTable.getAttribute("width");
var pixel = "";
var percent = "";

if (width.indexOf ("%") != -1)
  {
  width = width.substring (0, width.indexOf ("%"));
  percent = "checked=\"checked\"";
  }
else 
  {
  pixel = "checked=\"checked\"";
  }
</script>

<input id="width" name="width" type="text" value="MA_VARIABLE_WIDTH_ICI" maxlength="3"   style="width:30px;text-align:right;" onfocus="skipfocus=true" onblur="skipfocus=false" class="portlet-form-input-field"/>
Je recupere une valeur de largeur et je voudrais qu'elle soit directement dans mon champ de type input.
En gros, a la place de MA_VARIABLE_WIDTH_ICI.
Comme ca mon champ est prérempli de ma valeur.

Comment faire ???
Merci