I am working on a function that works like this:
- On the link Click
- After a page load based on the link, a specific modal window will be clicked on
- proceed with the modal
- the end of the function
In my problem I am running that either the modal will not load, or it will load, but then the page will be closed immediately after the loading. I am working with this function
$ (function () {$ ('# new-po'). Click (function () {window.location.href = $ ( This is) .attr ('href'); bootbox.dialog ({title: "Create new purchase order", message: ' "+" & lt; div class = "col -md-12 "& Gt; '+'
you window.location.href = $ (this) .attr ( 'Href') should be taken;
This handler of handwriting dialog
Comments
Post a Comment