how to remove this jquery dialog and show it as a simple html form at the bottom of web page when clicked on button. I've a bootstrap table when i click on the add new record button it shows dialog modal but i want to make it simple html form without pop up
$(function () {
var new_dialog = function (type, row) {
var dlg = $("#dialog-form").clone();
var email = dlg.find(("#email")),
password = dlg.find(("#password"));
type = type || 'Create';
var config = {
autoOpen: true,
height: 400,
width: 450,
modal: true,
buttons: {
"Create an account": save_data,
"Cancel": function () {
dlg.dialog("close");
}
},
close: function () {
dlg.remove();
}
};
if (type === 'Edit') {
config.title = "Edit User";
get_data();
delete(config.buttons['Create an account']);
config.buttons['Edit account'] = function () {
row.remove();
save_data();
};
}
dlg.dialog(config);
I'm confused by this line in my project: This id: categories-product belong to <select> and I've seen in project someone wrote this: And I'm wondering what this basically means ? $('#...
I'm confused by this line in my project: This id: categories-product belong to <select> and I've seen in project someone wrote this: And I'm wondering what this basically means ? $('#...
I've tried to use this comparison statement and was almost sure that's gonna work, but it's not. Could you explain why ? let a = 1 a === ( 1 || 3 ) // true a === ( 3 || 1 ) // false Thanks for ...
I've tried to use this comparison statement and was almost sure that's gonna work, but it's not. Could you explain why ? let a = 1 a === ( 1 || 3 ) // true a === ( 3 || 1 ) // false Thanks for ...
I have the following html setup and cannot solve this issue. When a button in the html document gets clicked, an element <div id='wrapper'> <input id='fileUpload' name='fileUpload' ...
I have the following html setup and cannot solve this issue. When a button in the html document gets clicked, an element <div id='wrapper'> <input id='fileUpload' name='fileUpload' ...
So I have a css grid layout with "boxes" inside, that I filter with a text input and javascript. How can I hide the filtered out elements so that they don't even take up space within the grid (so the ...
So I have a css grid layout with "boxes" inside, that I filter with a text input and javascript. How can I hide the filtered out elements so that they don't even take up space within the grid (so the ...