From a command prompt, go to [appserver
root]/user_projects/domains/[appserverdomain].
Enter the following command:
> (Windows) startWebLogic.cmd
> (Linux, UNIX) ./startWebLogic.sh
From a command prompt, go to [appserver
root]/user_projects/domains/[appserverdomain].
Enter the following command:
> (Windows) startWebLogic.cmd
> (Linux, UNIX) ./startWebLogic.sh
data-parsley-errors-container="#element"<fieldset>
<label class="checkbox-inline">
<input type="checkbox" id="inlineCheckbox1" required data-parsley-maxcheck="2" data-parsley-multiple="checkbox2" value="option1" data-parsley-errors-container="#checkbox-errors" /> 1
</label>
<label class="checkbox-inline">
<input type="checkbox" id="inlineCheckbox2" data-parsley-maxcheck="2" data-parsley-multiple="checkbox2" value="option2" /> 2
</label>
<label class="checkbox-inline">
<input type="checkbox" id="inlineCheckbox3" data-parsley-maxcheck="2" data-parsley-multiple="checkbox2" value="option3" /> 3
</label>
<div id="checkbox-errors"></div>
</fieldset>
Credit to: https://stackoverflow.com/questions/21702476/parsley-js-change-error-container
$(document).ready(function(){
$('body').on('click', '#yourelementid', function() {
alert("click");
});
});
CREATE TABLE new_table
AS
SELECT *
FROM old_table
new_table with whatever columns are in old_table and copy the data over. It will not replicate the constraints on the table, it won't replicate the storage attributes, and it won't replicate any triggers defined on the table.SELECT INTO is used in PL/SQL when you want to fetch data from a table into a local variable in your PL/SQL block.$(document).ready(function (){
var table = $('#example1').DataTable({
pageLength: 4
});
// Handle form submission event
$('#frm-example1').on('submit', function(e){
var form = this;
// Encode a set of form elements from all pages as an array of names and values
var params = table.$('input,select,textarea').serializeArray();
// Iterate over all form elements
$.each(params, function(){
// If element doesn't exist in DOM
if(!$.contains(document, form[this.name])){
// Create a hidden element
$(form).append(
$('<input>')
.attr('type', 'hidden')
.attr('name', this.name)
.val(this.value)
);
}
});
});
});
$(document).ready(function (){
var table = $('#example2').DataTable({
pageLength: 4
});
// Handle form submission event
$('#frm-example2').on('submit', function(e){
// Prevent actual form submission
e.preventDefault();
// Serialize form data
var data = table.$('input,select,textarea').serializeArray();
// Include extra data if necessary
// data.push({'name': 'extra_param', 'value': 'extra_value'});
// Submit form data via Ajax
$.post({
url: 'echo_request.php',
data: data
});
});
});
* Credit to https://www.gyrocode.com/articles/jquery-datatables-how-to-submit-all-pages-form-data/
$('#btnSubmit').click(function () {
var postData = $('#frm').serialize();
var idParam = $('#id').val();
var url = "your_url.php";
var tbl = $('#dtTable').DataTable();
var dt = tbl.$('input[type="checkbox"]').serialize();
var postData = dt+'&id='+idParam;
$.ajax({
method: "POST",
url: url,
data:postData,
})
.done(function(data) {
var msg = jQuery.parseJSON(data);
if(msg.status == 'success'){
$('#modalPopup').modal('toggle');
}else{
alert('Failed! ' + msg.msg);
}
});
});