While reading Example 14 this sentence caufght my attention.
Scripts can access the URL of the current page in several ways. The simplest is the document.URL property, which returns the complete URL of the current page. This is useful if you are unsure of the complete URL (such as on pages with user input).
I don't know what Dion implied, but this word (user-input) must include the input of text-editor, so indirectly it means its possible to remove sorry skip that awful page.
Though I ain't very successful as of now; but atleast after entering their message user don't have to click 'return to index' every time...as they are redirected automatically using this snippet. This also occurs while sending PMs
Code: Select all
$('.button2[name=post]').replaceWith('<input type="submit" value="Send" class="button2" name="post" onClick="window.location.reload()" />');
will there be any adverse affects if this ; gurus here must explain. Any more reading plz provide sources