Code

Discussion on jQuery MsgBox

Discussion on jQuery MsgBox

Cart 1,634 sales

aeroalquimia does not currently provide support for this item.

196 comments found.

Any updates on when the will be compatible with jQuery 1.9.x?

Saw the posting about this a month ago but there have been no further updates.

I just uploaded it. It will be available very soon.

Regards,

Doesn’t appear to be compatible with jQuery 1.9

“Uncaught TypeError: Cannot read property ‘msie’ of undefined”

It doesn’t. But it will.

Regards,

Great to hear!

Will this plug-in work on mobile phones, iPhone, Android?

Please fix this line:

$(‘input[required=”true”]:not(:value)’).length;

Reagards!

Hello .. is it possible to make it show on page load, without clicking any button … like a message box when someone enters website?

Nice work ;)

Hi,

I get an exception on jquery.msgbox.js ‘JQuery is not defined’, on this line :

<script type=”text/javascript” src=”Scripts/msgbox/jquery.msgbox.js”></script>

And how can i popup an error message box without a botton event, like when i get an exception a fire the messagebox. I´m working with c#.

Thanks a lot.

You have to define jQuery before the msgbox. That’s why in the example, there are two scripts:

<script type="text/javascript" src="javascript/jquery.min.js"></script>
<script type="text/javascript" src="javascript/msgbox/jquery.msgbox.min.js"></script>

There’s a generator included to open the msgbox via javascript.

Regards,

I need technical support. Where should I put this $.msgbox(‘XXXXX’, { type : ‘info’, buttons : [ {type: ‘submit’, value:’XXXXX’} ] }); ?

Why I can’t get it popping out?

Hi

please help me , i have a problem with your script

i have a from and a submit button i need when i click on submit button show me a confirmation mesage and if i click accept submit my form and if i click No send back false , this is my code can you check it and say what is my problem !

<form name=”order” action=”” method=”post” id=”order” >

<input type=”Submit” name=”Confirm” value=”Confirm” onClick=”return $.msgbox(‘are you sure !’, { type : ‘confirm’, buttons : [ {type: ‘submit’, value:’Yes’}, {type: ‘cancel’, value:’No’} ] });” />

</form>

<input type="Submit" name="Confirm" value="Confirm" onClick="return $.msgbox('are you sure !', {type : 'confirm', buttons : [{type: 'submit', value:'Yes'}, {type: 'cancel', value:'No'} ]}, function(r) { if (r) { $('#order').get(0).submit(); } });" />

Before I buy, I have 2 questions:

1. Is it possible to make it show on pageload – without clicking button? 2. Will it work inside an iframe?

Thank you in advance.

Hola, estoy trabajando con ASP .Net y me sucede algo muy raro.

La pagina de ejemplo dentro de mi sitio, la index.html me funciona bien, si pongo este codigo dentro de una de mis paginas aspx, tambien va bien

<input type=”button” onclick=”$.msgbox(‘demo.’);” />

ahora, si tengo el siguiente codigo dentro en mi aspx no funciona el mensaje

<script type=”text/javascript”> $.msgbox(‘demo.’); </script>

entonces lo que hice fue crear una funcion y llamar de esta forma:

function showDialog() { try { $.msgbox(“demo.”); } catch (err) { alert(err); } } showDialog();

y ahi me tiro el siguiente error:

TypeError: this.esqueleto.msgbox.queue is not a function

Espero puedan ayudarme.

Que version de jQuery estás usando?

jquery.1.6.2.min.js

Hi,

Is there any way to make the message box not overflowing the screen when viewed on small screen devices?

Thanks

Hi,

I’m sorry but it doesn’t have that feature. You can’t disable the effect.

Regards,

Okay, thanks for your reply.

I just bought an extended license for your plugin, it’s great overall but I found a bug for the prompt dialogs where the user inputs are not selected from esqueleto.inputs, but rather from the whole document so the validation and the shake effect does not work.

I fixed it by changing line 419 – 431 like this:


                  hasError = false;
                  if (typeof inputs !== "undefined" && $('input[required="true"]', this.esqueleto.inputs).length>0)
                  {
                    $.each($('input[required="true"]', this.esqueleto.inputs), $.proxy(function(i, input) { if(!$(input).val()) { $(input).focus(); this.shake(); return !(hasError = true); } }, this));
                  }
                  if(!hasError)
                  {
                    if (this.options.form.active)
                    {
                      return true;
                    }
                    else
                    {
                      this.close(this.toArguments($('input', this.esqueleto.inputs)));
                    }
                  }

Then it will work properly, :)

Thank you

Hi,

Thanks for this great solution.

Is it possible to reposition the text?

Thanks

Sorry, it doesn’t have that feature.

Hi,

I would like to know if you can update jquery.msgbox to catch up with the latest jQuery version (1.8.0 at this moment). It still works, but the msgbox appears on the upper part of the screen with 1.8.0, whereas it works as usual with 1.7.2

Thanks in advance, Julio

Hi,

Is there a way to update to jquery 1.7.+?

Regards

Hi,

It does work fine with the latest jquery version :)

https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js

Regards,

Hi,

Is there a way to add Dropdowns as a Type of inputs ?

How Can I do this ?

Regards

Hi,

No, it only works with simple text inputs.

Regards,

How can i disable jquery easing animations ?

Hello, how to disable the animation? I just want that it shows without any animation, show at the screen center like when the animation stops… its easy to change? Thank you!

Hey,

Great item :) I purchased it a while back with the Envato Bundle, but I’m going to purchase it again because I will need your help with something. I have a few questions to ask before though:

  • Can I add custom markup to the dialog boxes ?
  • Can I style the dialog box as I want ? Is the CSS accessible ?
  • Can I process PHP with AJAX inside the dialog box ?
  • Can the dialog box adjust it’s size to mobile devices or must I add extra css to handle that ?

Because what I want to do is use Envato API to place all the items on my website and have a Download button for my items. And I intend to use your dialog box script to verify the purchase code for the item so the client can download it ( useful when I also have updates to the item ).

I’ve already developed the API wrapper and the mini-shop, and now I have to handle the verifying thing, so your dialog box seemed appropriate to use. So can all of what I described be handled with your dialog box ?

I like this msgbox control very much. I have to apply it in a website for a mobile handheld device but the alert boxes are to big for the handheld screen to display. I assume that it is rather easy to change the size of alert boxes but I don’t see how. Can someone help me?

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey