Questions tagged [impromptu]

Use this tag for questions related to jQuery Impromptu, a JavaScript alert, confirmation, and prompt extension.

jQuery Impromptu is a JavaScript alert, confirmation, and prompt extension. It is intended to be a replacement for standard window.alert(), window.confirm(), and window.prompt() methods.

Useful Links

73 questions
1
vote
1 answer

Keep impromptu "up" while performing a jquery Ajax/MVC post

Is there a way to keep the impromptu dialog box displayed during a post? Here's the javascript code $('#linkPostTest').click(function() { openprompt(); }); function openprompt() { var temp = { state0: { html:…
w4ik
  • 1,276
  • 2
  • 19
  • 33
1
vote
1 answer

Jquery Impromptu 4

I'm having a hard time with impromptu(jquery plugin) where I keep getting an undefined value. Here is an example:
LouieV
  • 1,032
  • 2
  • 15
  • 28
1
vote
0 answers

impromptu isnt closing dialog when close method called inside function

I am stuck for 4 hours with such code: $.loader = function (msg) { jQuery.prompt.close(); $.prompt(msg, { buttons: { }, show: 'fadeIn', promptspeed: 50, overlayspeed: 'fast' }); } function my_function() { jQuery.prompt.close(); …
Kalreg
  • 931
  • 3
  • 12
  • 31
1
vote
1 answer

Tie event to jquery impromptu form cancel

Using impromptu in jquery to submit a form when a checkbox is clicked. If the user submits the form, everything works fine. However, if the user cancels the form, the checkbox stays clicked. I would like to tie an action to the cancel event to close…
user882134
  • 279
  • 3
  • 16
1
vote
1 answer

jQuery Impromptu Tour - Opacity of Overlay

I'm using jQuery impromptu to show a popup box tour on my site (Example 19 at the bottom right of the page). Is there a way to make a single container #idOfContainer NOT covered by the overlay? In other words, I want the entire page covered by the…
adamdehaven
  • 5,890
  • 10
  • 61
  • 84
0
votes
1 answer

how to select value in a dropdown from a text div using jquery Impromptu

From the jquery impromptu demo, for my purpose, I added a dropdown list to the popup form, but I am having problem figuring out how to have the "selected" value populated under the dropdown list in the modal form. Take a look at my example, in the…
100d
  • 71
  • 1
  • 2
  • 12
0
votes
1 answer

Jquery Impromptu > Go to URL

After as much research as possible I don't have a working solution to what seems a simple problem. I would like to use Jquery Impromptu. Simple action. Click on Logout – Logout Prompt…
Brandrally
  • 803
  • 3
  • 14
  • 24
0
votes
0 answers

How to rewrite an Impromptu case statement in Cognos Framework Manager?

I have a case statement in Impropmtu that I need to recreate in Framework Manager. I need help with case statement syntax in Framework manager, and in this special case, there is a nested statement involved that makes it a bit more complicated. I…
Monib
  • 9
  • 4
0
votes
0 answers

With jQuery Impromptu, how to close a dialog and pop up another one

I've got an ajax call happening that has a $prompt dialog open. I want to close that dialog and put up another one. How can I do that? if (dataNew.Message && dataNew.Message.length > 0) { $.prompt.close(); …
Peter Kellner
  • 14,748
  • 25
  • 102
  • 188
0
votes
1 answer

In JavaScript (with jQuery) I want to prompt for email inside document ready block

I have an html page that I want to have a javascript variable email. When the html page loads, I want the first thing to happen is a simple modal dialog pops up and prompts the user to enter a valid email. The user pushes an "OK" or "Cancel"…
Peter Kellner
  • 14,748
  • 25
  • 102
  • 188
0
votes
1 answer

Impromtu plug in is not working

I like to have a popup modal dialog that need to show the list of options (like a radio button select event). But I don't know what I am missing! It works fine when no HTML tag is embedded in Impromtu. Do I include it in CSS? …
venkatachalam
  • 102,353
  • 31
  • 72
  • 77
0
votes
1 answer

How can I have impromptu not continue until submit is done and exits

I'm using the jQuery impromptu library and not understanding the async nature of it. I've got some code below that I want to redirect after the prompt is run. I don't want the next line of code to execute if my data.redirectPage statement is…
Peter Kellner
  • 14,748
  • 25
  • 102
  • 188
0
votes
3 answers

Impromptu and Instances

I am having a problem with impromptu and instances. I have two instances of impromptu, so when i call to close the first, the other closes too. Is there any way to say to close one and no the other?
Arkiller
  • 138
  • 1
  • 8
0
votes
2 answers

Teradata SQL & cognos. How can I customize Cognos to accept a customized & more efficiently performing SQL

RIght at the outset I'd like to say that I am NOT a Cognos Guy .So I have totally disconnected myself from developing cognos cubes / reports whatever you want to call it. There are COGNOS queries auto generated - very badly written that will…
user1874594
  • 2,277
  • 1
  • 25
  • 49
0
votes
0 answers

How to convert a function to asynchronously use a callback

I have a two functions that step through a simple dialog tree, using Impromptu to get user input. however, as Impromptu is asynchronous, the user's input is not waited for, and the functions continue, not allowing the tree to be stepped through. I…
Bob Eret
  • 59
  • 3
  • 12