Tag: javascript

  • Made an app to quickly get short ebay affiliate links.

    This article will be more about concepts than code. I’m not sure how ebay, and indirectly Impact the affiliate network, feel about programmatic website interaction. I’m also writing this well after I had created a working version of the program, so I’m working off of what information I gather after the fact. At one point,…

  • Using Raphael the JavaScript graphics library.

    In this example, I go over a simple use of Raphael.js. It draws 4 boxes on the page and allows you to move and resize each independently. Here is the graphics library (licenses under the MIT license):https://dmitrybaranovskiy.github.io/raphael/ Here is my code on GitHub. The basic gist of it is to initialize the primary Raphael object…

  • Javascript & HTML: Async Communication Prototype

    In this article I go over an asynchronous communication prototype I had made in straight Javascript that you use to POST to a server script and pass along the response to a Javascript function specified by the initial call to the prototype. The main benefit here is that you don’t need a full page refresh,…

  • Solid Basic Javascript Input Validation

    Here is a simple yet pretty powerful and easy to use way to do validation on HTML form text boxes and text areas and similar controls. It checks to make sure required form field have *something* in them before allowing processing to continue. It’s a good simple way to add some basic validation to prevent…

  • JavaScript Tip: Submit Form On Enter Key

    A common practice with search forms is to have them submit when the enter key is pressed, instead of requiring the user to use their mouse to press the submit button (or using tab key to tab to the submit button). Update: I attempted to find a solution for working in Firefox, but the code…

  • Objects in Javascript

    Javascript does not use a standard class model. It uses objects that are like associative array structures of data, or so I have read. Regardless of how it works, you can make a class-ish type construct in Javascript. I’ll try to go over the basics here to help anyone who is interested. Objects are defined…

  • Javascript Rant

    I’ve been working on something recently where I decided to have most of the program run in a client’s browser. It’s basically a blog system that works with that asp-xml-to-access-db class. The clients browser sends/requests information in XML to the server script and everything turned out peachy. I’m overall extremely happy with it. Now that…

  • Accessing page content from the front and back-end of a site

    As I’m programming this database driven website, I’ve come into a few irritating little issues. Today I’ll talk about a few methods to access page content (images) from the back-end. I’ve created a way to create and edit page content with a browser based WYSIWYG editor. The problem is after the first time the data…

  • No, but there is more…much more thanks to my new friend ajax.

    As I mentioned in the previous post, I made a static website in html, css, javascript, and json. It works pretty good and that’s great. The problem is my sister is the one who should be adding/editing content because it is her site. So the question is, how can I make an easily update-able site…