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
0
votes
1 answer

How to use Impromptu as an confirm alert

I want to use Impromptu alert box as an confirm box when I reload my page. Right now I am using this normal javascript. window.onbeforeunload = function(event) { return confirm("Confirm refresh"); }; However I no longer want to use this, so is…
Shakti Sharma
  • 2,131
  • 3
  • 18
  • 23
0
votes
0 answers

What exactly represent these parameter of this function associated to a form submit event?

I am pretty new in JavaScript\JQuery and I have the following doubt about this code found in a project on which I am working on. This project use jQuery Impromptu plugin to show dialogs: http://trentrichardson.com/Impromptu/ So in my JavaScript code…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
0
votes
1 answer

Adding html select to dialog box causing unwanted css whitespace

I am using a plugin called jquery impromptu to create dialog's on my web site. I've noticed that when you try and add a html select to the dialog it causes some unwanted whitespace around the border of the dialog. None of the other html form…
Richie
  • 4,989
  • 24
  • 90
  • 177
0
votes
1 answer

jquery impromptu help required to displaty error in buttons pane

I have am using a jquery plugin called impromptu to display a dialog box. As part of the dialog there is a div holding the buttons. The div is defined as follows...
0
votes
0 answers

Sum rows in Cognos Impromptu

I would like to sum rows in Cognos Impromptu like below: Ideally I would like to use cognos function, if not possible sql is ok. Thank you.
simo
  • 91
  • 1
  • 7
0
votes
1 answer

How to add and remove button dynamically from particular state in impromptu?

I am using impromptu for prompt and I want to add buttons dynamically on specific condition. state0: { html: 'Do you want to apply changes?', buttons: { YES: 1, NO: 0 }, focus: 1, submit: function(e, v, m, f) { if (v == 1) { …
anagha affinity
  • 273
  • 1
  • 3
  • 14
0
votes
0 answers

Impromptu - possible to turn off the scrolling for a state?

I'm using Impromptu to walk users through a web application. Everything works well, except one thing. One of the states, let's call it State 2, references a container in a "social media bar" at the bottom of the page. This bar uses jquery to stay…
Chris
  • 254
  • 1
  • 11
0
votes
1 answer

Remove or Hide Button Focus outline in ie compatibility mode (jquery impromptu)

I am using a jquery modal dialog box plugin named impromptu in my web application. I have a problem with the style of my default button when running in ie compatibility mode. When my dialog displays with ie compatibility mode disabled my dialog…
Richie
  • 4,989
  • 24
  • 90
  • 177
0
votes
0 answers

Jquery Impromptu - how to set the html of a state after reading data from a html file

In the Impromptu popup I have two states viz. state1 and state2. The data for the "html" of state2 has to be read from a file(abc.html). I have tried reading the file in state1 and setting it to a variable and using that variable as the data for…
Nav
  • 39
  • 5
0
votes
1 answer

Call another prompt after submit prompt

I want to call another prompt after submitting my answer, but the .prompt inside LoadNewRecord function doesn't show up. Any idea ? Submit prompt: $.prompt("Opening Recap with ID " + Recap[0][0].id + ".
Note: Any changes on Recap " +…
Bla...
  • 7,228
  • 7
  • 27
  • 46
0
votes
2 answers

How to mask javascript prompt() input?

I'm using the "Secure Profile" extension for Google Chrome. Although this app lets me secure my browser via a password, the password field text is visible during input. I need to hide or mask the input. How can I do that? Here's are the details…
0
votes
1 answer

Impromptu - Simple pass variable to URL

Really could use some help / logic. I want to pass an elementid on the href of a jquery impromptu that can then be used to append to a destination url. That is; start with a href: Remove…
Brandrally
  • 803
  • 3
  • 14
  • 24
0
votes
2 answers

Trying to call a jquery function from inside a javascript function

Ok, So I am trying to use this 3rd party js library, called jquery-impromptu.js, the js code looks like this: /*! jQuery-Impromptu - v5.2.4 - 2014-05-26 * http://trentrichardson.com/Impromptu * Copyright (c) 2014 Trent Richardson; Licensed MIT…
user1296259
  • 521
  • 1
  • 13
  • 33
0
votes
0 answers

Getting Error With Impomptu I don't understand

I'm trying to use Impromptu in the middle of a form tag. I basically have the following code and I get the error below. I don't get the error if I replace my .ajax call with a simple alert. Basically, I'm just wanting to ask a question, get an…
Peter Kellner
  • 14,748
  • 25
  • 102
  • 188
0
votes
1 answer

trying to display datepicker in Impromptu prompt box?

I am trying to display ui datepicker ctrl in prompt box [ using impromptu jquery script]. Following is my code what I am trying. var txt = 'Date: '; $.prompt(txt).$('#datepicker').datepicker();…
user269867
  • 3,266
  • 9
  • 45
  • 65