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


  • 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) {
    		$('#element').remove();
    	}
    		$('.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?


Log in to reply
 


Looks like your connection to NodeBB was lost, please wait while we try to reconnect.