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
10
votes
7 answers

Impromptu .. with jquery 1.9 - error with browser.msie

I get an error with impromptu ver 4.1 when running under the latest jquery 1.9 Uncaught TypeError: Cannot read property 'msie' of undefined This was not the case with previous versions of jquery. The offending line in impromptu is line 20: var ie6…
Upland
  • 691
  • 3
  • 8
  • 18
4
votes
2 answers

Add a phparray variable inside javascript dynamically

I am using the impromptu jquery plugin. I have options to insert html under "html" option, but i need to populate an array of values that i get from php. Iam not able to insert it. What i want is to populate a select box with values that are in php…
user4348246
3
votes
3 answers

How to put a callback in the submit event listener of a form to wait for user's response to jquery impromptu's prompt?

Here is what I want to do - Display a prompt (using jquery's impromptu) when user clicks on submit button of the main form. The prompt is again a form which has a password field and an Ok and Cancel button. The main form (along with the password…
Sandeepan Nath
  • 9,966
  • 17
  • 86
  • 144
3
votes
3 answers

jquery form submit() not working inside callback function after preventing normal submit while using impromptu

I am displaying a password prompt instead of submitting the form when user clicks the submit button of a form. I want the form to submit when the user clicks the "Ok" button of the prompt. I am using jquery impromptu plugin (tried both with Version…
Sandeepan Nath
  • 9,966
  • 17
  • 86
  • 144
3
votes
1 answer

Overlay Page but Exclude specific div - jQuery Impromptu

I am using jQuery impromptu to create an 'overlay tour' on my site. Here's the source page: http://trentrichardson.com/Impromptu/ I would like to change the z-index of a div so that when it is featured in the tour, it is placed ABOVE the overlay (or…
adamdehaven
  • 5,890
  • 10
  • 61
  • 84
3
votes
3 answers

override default jquery impromptu width

The following statement works fine with the exception that the width of the modal message is 400px, the default, instead of the desired 800px. $.prompt(sFirstTest,{width:800}); The default of 400px is fine except for this one instance. The question…
Terry
  • 1,437
  • 2
  • 12
  • 26
2
votes
4 answers

How to pass parameters in Impromptu callback?

I'm using jQuery Impromptu as a pop window. The raw code is as follow: function f1(pa1, pa2){ $.prompt("need to delete?",{ callback: callbackfunc, button: {OK: true, Cancel: false} }); } function callbackfunc(v,m,f){ …
winter
  • 21
  • 1
  • 2
2
votes
1 answer

Issue in reading resource file in Js file when using BundleTable.EnableOptimizations in MVC

I am using 'jQuery Impromptu' for prompt a user for input, below is the code $.prompt(Resource.DeleteConfirm, { buttons: { [Resource.Res_Option_Yes]: true, [Resource.Res_Option_No]: false }, submit: function (e, v, m, f) { if…
Jiju John
  • 821
  • 3
  • 14
  • 35
2
votes
2 answers

2 servers, same website on both: IE shows two slightly different version

I'm getting a weird issue involving IIS and IE, and I'll try to describe it clearly. I have a regular html-css-js/jquery website that I've developed locally. Now that it's ready, I'm trying to deploy it on a server. Once it's hosted on the server, I…
siger
  • 3,112
  • 1
  • 27
  • 42
2
votes
1 answer

Perform form validation before Submitting - jQuery

Using jquery impromptu popup, i have made a form . But the problem is i want to check the user input before submitting. Is it possible. In here, if the user selects options in the second screen, i want to call another popup based on its value. Is it…
Ethan Hunt
  • 141
  • 14
2
votes
2 answers

How to disable Jquery prompt save button on first click

I am using jQuery prompt to prompt a user to save. So, a user clicks a Save button, the Jquery prompt displays and asks if the user is sure he/she wants to save changes or not. The problem is, the user is able to click multiple times on the…
Chris
  • 795
  • 2
  • 12
  • 27
2
votes
2 answers

show alert using jQuery-Impromptu if elements value is empty or zero

I want to popup alert if elements values are empty or zero. I want to use Impromptu for that. here is example of Impromptu: http://jsfiddle.net/hGRtH/ and my input elements are: '; $.promptExt(txt,{ …
madprops
  • 3,909
  • 5
  • 34
  • 42
1
vote
2 answers

Focus impromptu input text

I'm using impromptu http://www.shiguenori.com/material/jquery.impromptu/ to show dialog boxes and collect user's input. But I can't get the input textbox to focus when it appears. I've tried giving the input an id and add in…
madprops
  • 3,909
  • 5
  • 34
  • 42
1
2 3 4 5