Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7579971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T17:48:07+00:00 2026-05-30T17:48:07+00:00

Im complete noob to Javascript, but very keen to learn more. I have a

  • 0

Im complete noob to Javascript, but very keen to learn more.

I have a flex application, that I am messing with the HTML wrapper, to try and pop up an alert to point user to help.

I found a great jQuery plugin called noty, that emulates the header alerts that you also see in SE-sites.

<head>

<link rel="stylesheet" type="text/css" href="custom/css/jquery.noty.css"/>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript" 
        src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js">
</script>
<script type="text/javascript" src="custom/js/jquery.noty.js"></script>         
<script type="text/javascript" language="JavaScript">
// basic alert
//if (!confirm("Yo.\n\nAccept?"))
//    window.location.href = "custom/rejected.htm";

noty({text: 'yo!'});
</script>

</head>

Not getting any errors in firebug, but alert is not firing either.
I know its something basic, and will need some additional logic to tell it to fire at runtime, right?

What have I done wrong or what code am I missing?

Thanks

Full code here. Let me know via comments if you need more info.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T17:48:08+00:00Added an answer on May 30, 2026 at 5:48 pm

    I don’t know Noty, but if it’s a visual effect than it certainly depends on the DOM being scriptable and nodes being rendered. What’s happening is that noty is firing before the DOM is scriptable.

    A core concept in jQuery is using the “document ready” function. Consider it a “page is built, now I can manipulate it” function. People like to be fancy and use shortcut syntax (there are a few variations), but I prefer explicit and obvious syntax, so I use the standard:

    $(document).ready(function() {
      // Code here executes when DOM is scriptable
    });
    

    Just put the noty code inside there and it should work, I’m guessing:

    $(document).ready(function() {
      noty({text: 'yo!'});
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a complete noob to jquery and jquery ui but have successfully implemented a
I'm a complete noob to JQUERY, learning things slowly. But I have been downloaded
I'm a complete Flex/Flash noob, running Adobe Flash Builder 4 Beta 2. I have
I am a complete jQuery and Javascript noob trying to get a very simple
Complete noob question, so apologies for that. I have two tables, a members table
I am a complete noob to android but I have been programing c# for
I am a complete Noob when it comes to GIT. I have been just
I'm a complete Flex noob, so I apologize in advance if I'm missing something
I have been looking into CruiseControl configuration recently (I'm a complete CC noob) and
I am a complete noob when it comes to the NoSQL movement. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.