crimson117
Platinum Member
Refer to these source files:
Posting a comment to the Atom article
js file that aids inserting Bold tags, Quote tags, etc
The js file lets you use buttons to auto-add [ Q ] and [ B ] tags (etc) for Quotes, Bold, etc, just like on this forum.
But the js call in the "posting a comment" html references the wrong field. It tells the function to send the [ Q ] tags back to field "frmText":
But the text box field isn't named frmText - the textarea its id is "ctl00_ContentPlaceHolder1_frmText":
So I think the javascript calls need to reference the correct field name, or the field name has to be changed to match the javascript calls. Only then will the formatting buttons work.
Posting a comment to the Atom article
js file that aids inserting Bold tags, Quote tags, etc
The js file lets you use buttons to auto-add [ Q ] and [ B ] tags (etc) for Quotes, Bold, etc, just like on this forum.
But the js call in the "posting a comment" html references the wrong field. It tells the function to send the [ Q ] tags back to field "frmText":
href="javascript:Quote('frmText');"
But the text box field isn't named frmText - the textarea its id is "ctl00_ContentPlaceHolder1_frmText":
textarea name="ctl00$ContentPlaceHolder1$frmText" rows="2" cols="20" id="ctl00_ContentPlaceHolder1_frmText" tabindex="2" style="height:168px;width:500px;"
So I think the javascript calls need to reference the correct field name, or the field name has to be changed to match the javascript calls. Only then will the formatting buttons work.