5
Example have the link:
www.meusite.com.br/index.php?subject=conteudo do assunto;message=teste de mensagem
I want to call the function onclick
of that button automatically:
<input value="Enviar" tabindex="3" onclick="return submitThisOnce(this);" accesskey="s" class="button_submit" type="submit">
What I change in the link to call this click function?
Follows 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;
}
there is the function submitThisOnce? if yes then I think to withdraw the Return should already resolve
– SneepS NinjA