Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to do pop up message

New Here ,
May 27, 2024 May 27, 2024

Hello, i am new to dreamweaver, so i have learend the dreamweaver feature for login, but i have a problem that i cannot display any pop up message if the user login succesfuly or vice versa. can someone help me?

353
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 27, 2024 May 27, 2024

See JavaScript Popup Boxes. Decide which type of Popup you want.

  • Alert,
  • Confirm,
  • Prompt.

https://www.w3schools.com/js/js_popup.asp

 

Hope that helps.

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 27, 2024 May 27, 2024

To display a pop-up message in Dreamweaver after a user logs in, you can use JavaScript. Here’s a simple example:

<script>
function loginSuccess() {
alert("Login successful!");
}

function loginFailure() {
alert("Login failed. Please try again.");
}
</script>

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 28, 2024 May 28, 2024
LATEST

What tutorial did you follow for a login? If you are using the server behaviors functionality you may want to reconsider that code as it is out of date. I would recommend a CMS or looking into a provider for login functionality as this will more closely tie into your site as opposed to building things out in pieces from tutorials and instructions that may not be compatible with one another.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines