
Search In
JavaScript Array pop() method: The pop() method is used to remove the last element of the array. The pop() method returns the removed element. The pop() method changes the length of the array by decreasing one.
Syntax of Array pop() method :
arra
JavaScript Array push() method : The push() method is used to add new element in the array. The push() method add the new element at the end of the array. The push() method returns the new length of the array.
Syntax of Array push() method :
arr
Hello Readers ,
If you want to post the form but do not want to refresh the browser then the best approach to follow by using AJAX call .
Following is the HTML and Jquery code.
HTML:
<form id="foo">
<label for="bar">A bar</labe
JavaScript Array unshift() method : The unshift() method is used to add new item at the first position of an array. The unshift() method will return the new length of an array. The unshift() method will change the length of the array.
Syntax of th
Hello Reader's if you want to make nice view to show the messages and alert count then you can use the Badge of bootstap
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="ut
JavaScript Array toString() method : The toString() method is used to cast the array object into a string object and return that string. The elements in the string is separated by comma.
Syntax of Array toString() method :
array.toString()
E
Hello Readers,
has() is the jquery method which is used to return the new jquery elements or objects that have one or more elements inside of a subset of the matched elements or matches the given selector in jquery.
Syntax :
$(selector).has(elemen
In Laravel 5.0 we have "paginate" in Eloquent by which we can create pagination very easily by just following some simple steps.However there is a drawback with it as it only works if you know all the conditions prior. But what if you want to create
Hello Everyone, In this blog I will guide you "To add custom attributes on product in WooCommerce?"
This is how to produce custom item attributes on the WooCommerce single web page. (To display attributes on the cart page, see Indicate WooCommerce P
Hello Everyone, today I will guide you "To Sanitize a String in PHP"
SANITIZE :- Data affirmation is usually an inclusive element of working with varieties. Not merely may be published files result in protection problems, nevertheless additionally,
