Skip to content

Commit

Permalink
form btn
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahem-hassan2000 committed Mar 14, 2023
1 parent 14ef287 commit d0fa584
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions addressDetails.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ <h2 class="cart_title2">Building Details</h2>
<textarea name="" id="" class="public_input" placeholder="Delivery Notes"></textarea>
</div>
<button type="submit" class="next ">Add</button>
<button onclick="logout()" class="next ">Add</button>
</form>

</div>
Expand All @@ -170,5 +171,10 @@ <h2 class="cart_title2">Building Details</h2>
<script src="js/popper.min.js"></script>
<script src="js/jquery-3.6.1.min.js"></script>
<script src="js/bootstrap.js"></script>
<script>
const logout = () => {
document.getElementById('form-submit').submit()
}
</script>
</body>
</html>

0 comments on commit d0fa584

Please sign in to comment.