de volgende code weigert dienst (er gebeurt niets als je op de link klikt):
terwijl dit wel werkt (er wordt een prachtige alert getoond):
waarom?
code:
1
2
3
4
5
| <html><head><title>test</title></head><body> <form name="iets" action="../info.php"> </form> <a href="javascript:void(0);" onclick="document.iets.submit();">blaat</a> </body></html> |
terwijl dit wel werkt (er wordt een prachtige alert getoond):
code:
1
2
3
4
5
| <html><head><title>test</title></head><body> <form name="iets" action="../info.php"> </form> <a href="javascript:void(0);" onclick="alert('dus');">blaat</a> </body></html> |
waarom?

Pas de replâtrage, la structure est pourrie.