[Typo3] Login box submit button
Martin Wan
mwan at objectivasoftware.com
Sat Aug 20 14:26:04 CEST 2005
Hi all,
The default logout-button of login box is:
<input type="submit" name="submit" id="tx-newloginbox-pi1-logout_submit"
value="Logout" class="tx-newloginbox-pi1-submit" />
At here, I tried to use a text-link to submit the logout request. I changed
the type of the default logout-button to "hidden", and added a text-link.
However, when I click the "Logout" text link, it does not work. The
following URL is showed at the IE address:
http://192.168.2.63/this.form.submit();
Following is the html code.
<a href="this.form.submit();" class="dclink">Logout</a>
<input type="hidden" name="submit" id="tx-newloginbox-pi1-logout_submit"
value="Logout" class="tx-newloginbox-pi1-submit" />
Could anyone please help me?
Thanks
Martin Wan
More information about the TYPO3-english
mailing list