Answer the question
In order to leave comments, you need to log in
Is it possible to pass two identical parameters to a function at the same time?
Faced such a task, you need to write a function for modal windows and alerts. Which should be called like this:
obj.modal ({
type: "content",
title: "test",
body: "some text",
button: { title="Close" class="btn btn-primary" data-dismiss="modal" onclick="test()" },
button: { title="Cancel" class="btn btn-primary" data-dismiss="modal" },
onclose: "closeFunction(data);"
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question