Odp:Add comment

From Odp

(Difference between revisions)
Jump to: navigation, search
(New page: {{#if:{{#request:target}}| {{#form:method=get|id=commentform|style=border-top:1px solid #ccc| <b>Add comment to the article</b>: {{#input:type=textarea|id=commentText}} {{#input:...)
Line 9: Line 9:
       var heading='====={{CURRENTDAY}}-{{CURRENTMONTH}}-{{CURRENTYEAR}} [[User:{{CURRENTUSER}}]] says:=====\n';
       var heading='====={{CURRENTDAY}}-{{CURRENTMONTH}}-{{CURRENTYEAR}} [[User:{{CURRENTUSER}}]] says:=====\n';
       document.getElementById('commentId').value=heading+comment;
       document.getElementById('commentId').value=heading+comment;
-
      alert(document.getElementById('commentId').value);
 
   }}
   }}
   {{#input:type=hidden|name=caction|value=append}}
   {{#input:type=hidden|name=caction|value=append}}

Revision as of 16:17, 17 June 2008

No target defined for posting comment.

Personal tools
Quality Committee
Content OP publishers