Welcome To Snipplr


Everyone's Recent JavaScript Snippets Tagged php



« Prev 1 Next »
  1. FAV

    How to use AngularJS and Laravel Blade together.

    In this article I will show you how to use AngularJS and Laravel Blade together. People who have been using AngularJS for a while may know of this solution. However if you are just getting started or have never used Angular with a templating engine...
    JavaScript 12 views posted 6 years ago by CreativePunch
  2. FAV

    iframe dynamic resize

    JavaScript code to facilitate dynamic re-sizing of an iframe at the same time as the browser window is re-sized, as well as making sure that the frame scales proportionally to its width and height.
    JavaScript saved by 2 people 7 views posted 6 years ago by leodruker
  3. FAV

    Function to simulate PHP $_GET in javascript

    Simulate the $_GET array from php in javascript to get url parameters this way: url= http://localhost/?var1=example $_GET['var1'] will return "example" Just copy and paste the code.
    JavaScript saved by 6 people 9 views posted 7 years ago by sergiazow
  4. FAV

    Javascript - Debugging Javascript as PHP / Function var_dump

    In javascript there is no function for printing variables like you have PHP, I use print_r and var_dump a lot in PHP for dumping variables so I wanted to create a simular function in javascript.
    JavaScript 11 views posted 7 years ago by satie83
  5. FAV

    Auto-complete Script Example

    The below script list out the available tags based on the character you enter in the Tag field and the available tags in the array. All the user submitted tags through the Tag form will be stored in an array. Use the below script to enable the auto-c...
    JavaScript saved by 4 people 9 views posted 7 years ago by aruldave
  6. FAV

    Como tener la fecha exacta en JavaScript para una aplicacion.

    Esto es por si estamos desarrollando una aplicación en la cual necesitamos manejar la fecha y hora con javascript.
    JavaScript 5 views posted 8 years ago by jrobinsonc
  7. FAV

    Convert PHP array into Javascript Array

    JavaScript 4 views posted 8 years ago by dato
  8. FAV

    AJAX MySQL Query

    JavaScript 2 views posted 9 years ago by danhanly
  9. FAV

    Captcha with Mootools

    A simple JSON request to validate a captcha control (using the php plugin provided by Recaptcha)
    JavaScript 2 views posted 9 years ago by stephanepericat
  10. FAV

    Javascript equivalent for PHP's print_r

    Description print_r - Prints human-readable information about a variable mixed print_r( mixed expression [, bool return] ) print_r() displays information about a variable in a way that's readable by humans. Parameters * expression...
    JavaScript 2 views posted 11 years ago by ianmonge
  11. FAV

    jquery sortable ajax php integration

    JavaScript saved by 14 people 10 views posted 12 years ago by jpdamen
  12. FAV

    PHP Array To JSON String

    SEE http://json.org/ for PHP JSON Libraries. grunt knuckle drag brute force ugly escapes for quotes make a php array a json string Produces trailing commas which some Javascript Librarys can't deal with.* _*NOOB NOTE [a comma is added at the...
    JavaScript saved by 6 people 8 views posted 12 years ago by inkdeep
« Prev 1 Next »