dyn-web.com : JavaScript and PHP Tutorials and Scripts

PHP to JSON and JavaScript

Find out how to use PHP's json_encode function to translate PHP arrays to JSON and JavaScript. Find out how to use JavaScript's JSON.parse method to parse a JSON string, how to use a reviver function with JSON.parse, and more. Read On

JavaScript to PHP

Feel like you need to reach for jQuery just to perform an Ajax request? Find out how to use XMLHttpRequest for GET and POST requests. It's easier than you might think! See also how to use JSON with Ajax. Read On

JavaScript Arrays

Does JavaScript support associative arrays? See our discussion in the JavaScript Arrays Tutorial which also covers multidimensional arrays, how to copy array values, how to add and remove array elements, how to traverse arrays, how to search and sort arrays, and more. Read On

More JavaScript Tutorials

We have a growing collection of JavaScript tutorials. We have recently added tutorials on JavaScript strings, and on data type and type conversion in JavaScript. Check out our popular JavaScript and Forms, and JavaScript and Iframes tutorials! Read On

Iframes and postMessage

Find out how to use the postMessage method for cross-domain communication with iframes. Examples show how to interact with a hidden iframe on another domain, how to set the height of an iframe cross-domain, and more. Read On

Cross-Document Communication

Find out how to communicate from one document to another when using iframes. Examples show how to reference the iframe and the document inside it, how to access the containing document from within the iframe, and how to communicate from one iframed document to another. Read On

PHP Scripts and Tutorials

See our lightweight PHP classes for building HTML forms and tables. See our ever-expanding collection of PHP tutorials, covering PHP array functions, string functions, and data type and type conversion in PHP. Read On

Back to top