My Blog
contains PHP, Web and business/entrepreneurial related content. Please join in the conversation!
Tag Archives: javascript
Twitter live search updates page
I decided it would be kind of cool to make a page that combined a bunch of twitter hash tags or just tweets in general. Here are the details…
Unknown function _popupControl()
In my Javascript Error Handler post, I discussed how I track user and client side errors. Recently, my error logs became inundated with tons of javascript errors. The function _popupControl() is undefined. After a little googling, I found out that … Continue reading
Javascript error handler
A while ago, I saw a website that provided a javascript error reporting service. You implemented some code and then they would send you reports on javascript errors on your site. I thought, this can’t be that hard. So I … Continue reading
Figuring out Price Before Tax
A lot of the time I give quotes including taxes. Every once in a while, someone is curious about what the tax is on a service. I was messing around the other day and came up with this Javascript function. … Continue reading
Enabling Javascript Specific CSS
While reading the blog post about Enabling Javascript specific CSS and the comments, I started thinking about my own ways to implement this. And how to do it validly. Why Use Javascript Specific CSS Believe it or not, we still … Continue reading
IE JS Error: Expected identifier, string or number
I just ran into this a bunch – works fine in FireFox … of course. Well apparently, Internet Explorer won’t allow you to have a trailing comma in a array or object definition. Let me show you: ?View Code JAVASCRIPT1 … Continue reading
Flash of Unstyled Content – in FireFox 3
So I’ve heard of the Flash of Unstyled Content before – but never really had this problem. I always use a LINK tag for my stylesheets. However, I just ran into it today – in FireFox even with a LINK … Continue reading
Form Submit: Internet Explorer behaving badly
I just want to make a micro blog here. Just a tiny lil blog. Internet Explorer Does Not Submit Form on Enter Correct! Instead, I load my page with this jquery ?View Code PHP1 2 3 4 5 6 … Continue reading
Another example of CSRF – in CSS
Just saw this really cool example get submitted on one of my websites testing for CSRF: ?View Code CSS1 #logo{background:url(deletepost.process.php?id=12345&userID=12345); Just another great example of why you should 1) not use GET for irreversible changes 2) filter filter filter! (I … Continue reading
Rely on Google for your Javascript?
After reviewing the Google Javascript API project, I am torn. Pro’s and cons below… What do YOU think? PRO Proper caching done Shared javascript location – no need to redownload if multiple sites use same library Easy to include method, … Continue reading
