add: var datestamp=''; var section=''; for (var i=0;i<this.myinput.length;i++) { if (this.myinput[i].name == 'datestamp') datestamp=this.myinput[i].value; if (this.myinput[i].name == 'section') section=this.myinput[i].value; }   
context: Wikiwyg.prototype.saveChanges = function() {    var self = this;    var myWikiwyg = new Wikiwyg.Wikitext();    var wikitext;    this.current_mode.toHtml( function(html) { self.fromHtml(html) });    if (this.current_mode.classname.match(/(Wysiwyg|HTML|Preview)/)) {        this.current_mode.fromHtml(this.div.innerHTML);        wikitext = myWikiwyg.convert_html_to_wikitext(this.div.innerHTML);    }    else {        wikitext = this.current_mode.textarea.value;    }    //alert(wikitext);    myWikiwyg.convertWikitextToHtmlAll(wikitext,        function(new_html) { self.div.innerHTML = new_html });    this.displayMode();}
meta: 2836	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2836/5e879321ff42b66170e07e7d6be566ebd33c1e75/moniwyg.js/buggy/local/moniwyg.js