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 6106543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:05:27+00:00 2026-05-23T14:05:27+00:00

When does this showMessage will be shown . I have written a small program

  • 0

When does this showMessage will be shown . I have written a small program please tell me
why this showmessage is not shown and if shown where it will be shown ??

<html>
  <head>


   <link rel="stylesheet" type="text/css"
href="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dijit/themes/claro/claro.css"/>

 <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojo/dojo.xd.js"
djConfig="parseOnLoad: true">
 </script>

    <script>

dojo.require("dijit.form.DateTextBox");
    </script>


<script>

function callMe()
{
if(dijit.byId("fromDate_out").isValid())
showMessage("Selected date is fine.");
else
showMessage("Not Valid");
}

</script>



  </head>
  <body class="claro">


<div dojoType="dijit.form.DateTextBox" require="true"   id="fromDate_out"   placeHolder="From Date" onChange="dijit.byId('fromDate').constraints.max =arguments[0];" ></div>



    <input type="button" onclick="callMe()"/>

</body>
</html>
  • 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-23T14:05:27+00:00Added an answer on May 23, 2026 at 2:05 pm

    Make sure that you fix the mistake require="true", it’s supposed to be required="true".

    The showMessage method will be called when you click the button. If fromDate_out does not contain a value, showMessage will be called with “Not valid” (assuming that you fixed the “require” typo above).

    We do not know what showMessage is, so if you need help with it, you have to post it as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does this smell? I have a few properties you can only set once. They
Why does this lambda expression not compile? Action a = () => throw new
Why does this test program result in a java.lang.IllegalMonitorStateException ? public class test {
Does the code below smell? I'm refactoring some code and have discovered this circular
I am a delphi noob so please help me out with this. I have
I have this code, showmessage('C:\TEMP\'+openfiles[openfilelist.ItemIndex].ID); if removedir('C:\TEMP\'+openfiles[openfilelist.ItemIndex].ID) then showmessage('Removed') else showmessage('Failed'); The message shows
Does this scenario work using mercurial? so if you have a central rep Central
What does this error from Doctrine2 & Symfony2 mean? Could not convert database value
Why does this code return -1 ? $a = 0; echo ~$a; Isn't not
Does this control have a name? Or is it just a bunch of simple

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.