Hi! I installed this code in my forum a while ago, though it's not working.
- Code:
$(function() {
if (location.pathname == '/post' && location.search == '?f=5&mode=newtopic') {
$('#text_editor_textarea').val('[b]Name[/b]: \n[b]Question or Suggestion[/b]: \n[b]Detailed Description[/b]: \n');
}
});
$(function() {
if (location.pathname == '/post' && location.search == '?=27&mode=newtopic') {
$('#text_editor_textarea').val('Name: \nAge: \nSpecies: \nHome Planet: \nPowers: \nWeapons: \nGender: \nPersonality: \nStrengths: \nWeaknesses: \nSpells: \nAppearance: \nHistory: ');
}
});