How to remove prompt title "localhost says " using jquery
Asked
Active
Viewed 1,202 times
0
-
1You can't, it's set by the browser. – Rory McCrossan Nov 30 '16 at 10:02
-
you need to use your own popup's – Rajshekar Reddy Nov 30 '16 at 10:02
-
you can't change it. only thing you can do is ; use a library instead. http://www.jqueryscript.net/tags.php?/prompt/ – Tintu C Raju Nov 30 '16 at 10:11
-
You can't manipulate that. use jquery HTML model pop-up instead. – Rahul Hendawe Nov 30 '16 at 11:28
2 Answers
0
May be this can work. Also refer same hear.
$(".ui-dialog-titlebar").hide();
-
2read the question carefully. Its about prompt not jquery ui dialog. – Tintu C Raju Nov 30 '16 at 10:09
0
You can't. Only you can use your own module windows. Or libraries:
Example from last link:
swal({
title: "An input!",
text: "Write something interesting:",
type: "input",
showCancelButton: true,
closeOnConfirm: false,
animation: "slide-from-top",
inputPlaceholder: "Write something"
},
function(inputValue){
if (inputValue === false) return false;
if (inputValue === "") {
swal.showInputError("You need to write something!");
return false
}
swal("Nice!", "You wrote: " + inputValue, "success");
});
You can find a lot of good libraries in google.

Andrey Nadosha
- 262
- 1
- 4
- 16