Skip to content

PHP Codes Blog

By Nikunj Joshi

Search for
  • PHP
    • PHP Settings
    • OOPs
    • MySQL
    • AngularJS
    • Jquery
    • Javascript
    • HTML
    • Server Apache
    • Server Nginx
  • Laravel
  • Magento
  • WordPress
  • About Nikunj
    • Contact Nikunj
  • Hire Dedicated Developer

Category: Javascript

Javascript

javascript

JavaScript String Search Methods

Posted By: Nikunj Joshi October 15, 2019December 11, 2019

JavaScript String Search Methods JavaScript provides several methods that search strings: indexOf, lastIndexOf, and search. These basic methods tell you whether a match has been found. The first three return …

Read More “JavaScript String Search Methods”

javascript

JavaScript getElementsByTagName() Method

Posted By: Nik Joshi February 27, 2019December 12, 2019

Get Elements by Tag Name The getElementsByTagName() method returns a collection of an elements’s child elements with the specified tag name, as a NodeList object. Return a live HTMLCollection. Syntax …

Read More “JavaScript getElementsByTagName() Method”

javascript

How to close current tab in a browser window?

Posted By: Nikunj Joshi May 10, 2018December 12, 2019

How to close current tab in a browser window? You will need Javascript to do this. close(); Note: the current tab is implied. This is equivalent: window.close(); or you can …

Read More “How to close current tab in a browser window?”

javascript

Javascript ajax making cross-domain request

Posted By: Nikunj Joshi April 19, 2018December 12, 2019

One thing I’ve seen experienced JavaScript developers struggle with is making cross-domain requests. Libraries like jQuery will handle all of the complexities of this and gracefully degrade to other technologies …

Read More “Javascript ajax making cross-domain request”

javascript

Javascript Ajax Request Example

Posted By: Nikunj Joshi April 5, 2018May 5, 2019

index.html file <html> <head> <style> span { color: green; } </style> <script> function showHint(str) { if (str.length == 0) { document.getElementById(“txtHint”).innerHTML = “”; return; }else { var xmlhttp = new …

Read More “Javascript Ajax Request Example”

Contact

Recent Posts

  • Force User to Verify Email after Registration in Laravel
  • Mutators and Accessors in Laravel
  • Laravel Two-Step Registration
  • Display Featured Products on Homepage in Magento
  • Function array_column() in PHP
  • Disable Timestamps in Laravel
  • Difference between implode and explode function in php
  • Build Single Page Application Using AngularJS
  • Use of the PHP substr_count() function
  • MySQL Create Table and Data Types

Categories

  • AngularJS (1)
  • HTML (1)
  • Javascript (5)
  • Jquery (8)
  • Laravel (34)
  • Magento (8)
  • MySQL (6)
  • OOPs (7)
  • PHP (27)
  • PHP Settings (3)
  • Server Apache (3)
  • Server Nginx (1)
  • Wordpress (5)

Tags

abstract (2) ajax (4) apache (4) array (7) arrays (4) artisan (18) authentication (3) cache (3) class (8) command (7) composer (11) config (2) console (3) controller (7) database (7) errors (4) features (2) function (28) functions (5) html (8) ini (2) javascript (8) jquery (9) Laravel (35) localhost (2) magento (8) method (4) methods (4) migration (5) model (7) mvc (3) mysql (10) notice (2) oops (6) php (66) programming (6) query (2) reviews (2) schedule (4) service (3) ssh (3) trigger (2) view (8) wordpress (4) xampp (3)

Comments

  • JSN Web Solutions on Difference between array_merge and array_combine in php
  • JSN Web Solutions on Laravel Two-Step Registration
  • JSN Web Solutions on Mutators and Accessors in Laravel
  • james on Start / Stop / Restart Apache Web Server Via SSH
  • web design company in coimbatore on Run custom query in Laravel

PHP Codes Blog by Nikunj Joshi

  • Register
  • Log in
PHP Codes Blog By Nikunj Joshi © 2018