
Search In
With the help of jQuery we can delete link for any record. On below code we have add a click event to triggers the ajax request. when the ajax request returns get success response.
$(document).ready(function() {
$('a.delete').click(function(
What is use of filter_var() function. ?
The filter_var() function filters a variable with the specified filter.
Syntax of filter_var() functionfilter_var(var, filtername, options)
You can see below example of array_rand() function in php.
<?ph
Here is the simple example of YUI ajax with Post and Get method:
POST request:
var callback = {
success: function(o){
alert(o.responseText);
},
failure: funct
In PHP, To perform any data task in MySQL database , first we have to connect MySql database to local server
This can be done as :
<?php
$servername = "localhost";
$username = "username";
$password = "password";
// Create connection
$conn = new
Below are the steps to Export an ORS:
Step 1: Launch the jnlp file.
Step 2: Enter you credential, select the ORS.
Step 3: Under Workbench, select Repository Manager.
Step 4: Connect to Master Database.
Step 5: Under Validate tab, validate the ORS tha
Hi Reader's,
Welcome to FindNerd, today we are going to discuss how to unlink a directory by using PHP ?
The unlink() function is used to deleted a file.unlink() function returns TRUE on success and FALSE on failure.
syntax of unlink() functio
Hello Friends,
File uploading is very basic component of web-development. If you are new in Codelgniter and want to code for file uploading please follow the below code:
//Configure set the path where the files uploaded will be copied. Make sure fo
Hii,
File Validator is a function used when we want to restrict the type of file uploaded.
Using File validator we can easily get file Info for each file uploaded.
If uploaded file is not as per the required format a validator function&nbs
For this operation we have a function abort().
Here is the process code.
var xhr;
xhr = $.ajax({
url: 'ajax/userDetails/user_id/3',
success: function(data) {
console.log(data);
}
})
fn();
//Abort the Ajax call
if(xhr &
I would like to share an interesting feature that I found as I was trying to submit form through JavaScript.
If you are trying to "form.submit()" through javascript and any form elements present with the name of "submit" in it, then in that case it w
