When I create a define('forum/account/edit/username) the submit button is not work

Technical Support
  • GNU/Linux

    Suppose that we have in the username's edit page and I want put a text after header, up the box where user put username and password. So I create:

    define('forum/account/edit/username', function(header) {
    	if($('#element').length) {
    		$('.edit-form').prepend('<div id="element" class="alert alert-warning">HELLO</div>');

    The problem is that in this way , the button with id"submitBtn" that let me ti change username is not work. I can't click it. Anyone can help me to resolve this?

Suggested Topics

| | | |