Ignore:
Timestamp:
2010-11-22T17:32:16+13:00 (13 years ago)
Author:
sjb48
Message:

Continued work on XHTML parsing for format statement saving. Found js code for ensuring XHTML (innerXHTML). Removed a few unneccessary bits of code from default servlet that were lingering around from when we first started playing with format statements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/js/gui_div.js

    r23333 r23336  
    77{
    88
    9     var formatStatement = document.getElementById('formatStatement').innerHTML;
    10     //console.log(formatStatement);
     9    var formatDiv = document.getElementById('formatStatement');
     10    var formatStatement = innerXHTML(formatDiv);
     11    console.log(formatStatement);
     12
    1113
    1214    //var myurl = 'http://localhost:8080/greenstone3/format?a=s&sa=s&t='+formatStatement;
     
    1517
    1618    $.post("http://localhost:8080/greenstone3/format?a=s&sa=s", {data: formatStatement}, function(data) {
    17         $('.result').innerHTML = data; //html(data);
     19        //$('.result').innerHTML = data; //html(data);
    1820        console.log("Success, we have received data");
    1921        console.log(data);
Note: See TracChangeset for help on using the changeset viewer.