Tag Archives: javascript

Select all content in form on click with javascript.

Isn’t it nice when you can click a textarea and have javascript immediately select the content so you can quickly copy and paste it? I think so. First we create our javascript function. Because I’m using WordPress to host my site for now, I needed to declare this function in an external javascript file named [...]

Posted in Programming | Tagged | Leave a comment

Simple AJAX example in WordPress.

I had a tough time finding a simple AJAX example that used PHP, Perl, and Javascript – hopefully this one will help WordPress users integrate AJAX, PHP, and Perl code into their posts and pages without too many problems. The code should be straightforward enough for you to copy/paste, see how it functions function, and [...]

Posted in Programming, Wordpress | Also tagged , | Leave a comment