Git Product home page Git Product logo

jquery-message-box's People

Contributors

a-matt avatar alipoodle avatar gasparesganga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jquery-message-box's Issues

[Feature request] Add TextArea as a new input option

I've successfully been able to modify the file myself to allow for textarea using a JQuery Element of a textarea, however the line 494 needs an edit to also get the values from it.

I'm not wizard at doing pull requests on GitHub nor if you would like to full implement it into a feature directly put into the program... But I though this might be a good feature request to allow for TextArea input rather than a select / input.

Error when press enter on a simple input messagebox

I have a very simple inputbox:

    $.MessageBox({
        input: 'default value',
        message: "Digite o valor da pesquisa"
    }).done(function (data) {
        //console.log(data)
        //if click the button OK with the mouse, everything runs ok.
        //but if press enter while typing something in the textbox, causes error
    });

The messagebox shows normally, but when I type some text and press enter, the messagebox closes as expected but the code fails and stops javascript execution.

The problem doesn't occur if i click in the OK button manually.
Details of error:

Chrome 53
MessageBox 2.0

The error is in line 423 of messagebox.js

instance.deferred.resolve(inputValues, event.data.name);

where event.data is undefined when pressing enter.

IDs for selectors

I want to increase the z-index of the overlay box (more generally someone may want to just style it differently - say with black rather than white transparency). I use a css linter that complains about "#messagebox_overlay" saying, "Don't use IDs in selectors". It's just a linting thing but it would be cool if message box followed those practices.

Not working with bootstrap modal.

image

The buttons are working but cannot type in input. But if you remove tabindex="-1" from the modal, it works. But I have to keep that value there. I try to set z-index but didn't work.

Thanks

z-index

Opening a MessageBox from a jQuery UI dialog result the MessageBox not to be visible (behind the dialog).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.