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

  • Home
  • SEARCH
  • 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 7558585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:24:27+00:00 2026-05-30T12:24:27+00:00

I got a small issue here. I have a button in a form (this

  • 0

I got a small issue here.

I have a button in a form (this is not a submit button). I want to click this button, check a value in my form and if this value is empty, open a Dialog bow a previously declare.

The issue is : the Dialog element doesn’t want to be open.

So I ran some tests :
– I put the Dialog open outside the click event, it’s ok
– I put an alert instead of the Dialog open, it’s ok too

So this is my HTML :

<div id="popup_archive" style="display:none">
    Veuillez saisir un temps effectif pour cette tâche avant son archivage.<br />
    <input type="text" id="archive_temps_reel" />
</div>

...

<input type="text" size="50" name="temps_reel" />

...

<input id="btn_archiver" type="button" value="Archiver" class="a_bouton a_bouton_gris" />

And the jQuery one :

$(document).ready(function() {

    // on click btn_archiver
    $("#btn_archiver").click( function () {
        if($('input[name="temps_reel"]').val() == '')
        {
            alert("coco");
            $("#popup_archive").dialog("open");
        }
    });

    // define popup_archive
    $("#popup_archive").dialog({
        autoOpen: false,
        modal: true,
        title: "Archivage"
    });

});

Anyone can help me ?
Thank you !

  • 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-30T12:24:29+00:00Added an answer on May 30, 2026 at 12:24 pm

    Ok I found the “bug”. I uninstalled the jQuerify extension for FireBug, and my popup is ok. Don’t know why … Thanks for your answer, really helps me !

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

Sidebar

Related Questions

A small issue over here i have 4 sections when i click on the
Got a small issue with this website structure: www.bigideaadv.com/xsp Looking to have this container
I have a small assembly bootloader that I got from this Tutorial . The
I haven't got clue if this is a normal issue or not but I
I've got a small issue with the .offset().top value in jQuery. I'm making a
I've got a small web form with 2 radio buttons, call them PickFromList and
I've got a small piece of code that is parsing an index value to
I've got this small question - given a bitmask of weekdays (e.g., Sunday =
I've got a small Cocoa problem. I have a StatusBar application that has an
Okay, I got this small program which tags (as in ID3v2.4 etc.) some music

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.