Example I have the link:
www.meusite.com.br/index.php?subject=conteudo do assunto;message=teste de mensagem
I want to call the onclick
function of this button automatically:
<input value="Enviar" tabindex="3" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" type="submit">
What do I change in the link to call this click function?
Follow the function:
function submitThisOnce(oControl)
{
// Hateful, hateful fix for Safari 1.3 beta.
if (is_safari)
return !smf_formSubmitted;
// oControl might also be a form.
var oForm = 'form' in oControl ? oControl.form : oControl;
var aTextareas = oForm.getElementsByTagName('textarea');
for (var i = 0, n = aTextareas.length; i < n; i++)
aTextareas[i].readOnly = true;
return !smf_formSubmitted;
}