I have downloaded installed it with via npm, by this command: npm install bootbox
But i don't know what to do after that... why when i copy and paste example codes from the website, it doesn't work? I searched the net but couldn't find the answer.
Has anyone use this library?
Would you mind guide me a little please?
from here (in the Usage Instructions part in that page) and just pasted in a blanck file. But it didn't wok. The result was a white page with the text Content here Alert! and the "Alert!" word was underlined as a link and when i clicked, nothing changed.
Well, you haven't really given us much to go on. If you want more help you will need to supply us with more information. If you can create a publicly viewable page that has the issue, we can more easily debug it. Or if you create a jsfiddle, then we can help more.
Well, does it help? Here I'm not sure if it's correct, i've never been using this.
Here i can't upload those bootstrap.min.js and bootbox.min.js files there so the output is not simillar to the image i gave you you it's link.
I replaced alert('test'); with those 2 lines and a message box with the text "test" appears. So without those 2 files you can't help me with that, well i don't know what to do.
I just downloaded and installed everything but this command on the terminal: npm install bootbox
And after that place bootstrap.min.js and bootbox.min.js files on the same directory as the html file and next just copied and pasted codes for the dialog box examples.
On the Bootbox.js website there was no more explanation for what to do, just said install bootbox.js with that command or download the zip file by clicking on the link.
Anyway, is there any way to find the problem and solution?!
We use href="bootstrap.min.css" when we want to host bootstrap ourself, so we download the file and create a link like that.
But when i downloaded bootstrap.min.js and bootbox.min.js from the "Bootbox.js" website, there were no bootstrap.min.css to download. So the problem was because of the lack of the bootstap.min.css file. So it didn't work well.