I don't have access to change the HTML. I'm either wanted to either:
change the text in the or
Hide that Div via CSS (I know how to do this) and add another div under the to add my own text.
<div class="login-welcome">
<img src=" border="0" class="login-logo" alt="">
<h2>Password recovery</h2>
<div class="info">
Please enter your username and we will send a password reset link to your email. If you can't remember what your username is please contact your administrator. If you don't have an email address registered with us you will need to contact your administrator to get your password reset.
</div>
</div>
<div class="login-form">
<form action="/account/forgot" method="post"><input name="__RequestVerificationToken" type="hidden" value="_1">
<div class="login-field" tabindex="0">
<label for="Username" style="display:none;">Username</label>
<input class="form-control input-lg" id="Username" name="Username" placeholder="Username" required="true" type="text" value="">
</div>
<div class="login-button" tabindex="1">
<input type="submit" class="btn btn-login btn-lg" id="continue" value=" Continue ">
</div>
<div class="login-forgot">
or <a href="/account/login">Back to login</a>
</div>
</form>
</div>
</div>
I've tried the following code - but it didn't work.
$(document).ready(function(){
if(window.location.pathname == '/account/forgot'){
$( ".info" ).append( $( "<p>Test</p>" ) );
}
});
All help is appreciated!
Test
" );`. Thanks – Basir khan Jun 27 '22 at 17:54