Changeset 330 for trunk


Ignore:
Timestamp:
09/21/05 14:01:11 (14 years ago)
Author:
gocher
Message:

Ticket #424
Submit to Publish

a preview with source for the ext_example

Location:
trunk/examples
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/ext_example-body.html

    r324 r330  
    136136 
    137137  <form id="editors_here"> 
    138     <textarea id="myTextArea" name="myTextArea" rows="10" cols="80" style="width:100%"></textarea> 
    139     <textarea id="anotherOne" name="anotherOne" rows="10" cols="80" style="width:100%"></textarea> 
     138 
    140139  </form> 
    141140 
  • trunk/examples/ext_example.js

    r324 r330  
    114114 
    115115  var f = document.forms[0]; 
     116  f.method = 'post'; 
     117  f.action = 'ext_example-dest.php'; 
    116118  f.innerHTML = ''; 
    117119 
     
    139141  var submit = document.createElement('input'); 
    140142  submit.type = "submit"; 
    141   submit.id = "submit"; 
    142   submit.value = "submit"; 
     143  submit.value = "Submit"; 
    143144  f.appendChild(submit); 
    144145   
     
    148149  } 
    149150  function frame_onSubmit(){ 
    150     alert(document.getElementById("myTextarea0").value); 
    151151    if (_oldSubmitHandler != null) { 
    152152      _oldSubmitHandler(); 
Note: See TracChangeset for help on using the changeset viewer.