Here’s a quick snippet to get the form ID from any form element.
$(this).parents("form").attr('id');
Here’s a quick snippet to get the form ID from any form element.
$(this).parents("form").attr('id');
I recently encountered this problem on Vista running localhost with XAMPP 1.7
I had this calendar script that loads a template from a given path, but it gives me a timeout error. It was previously running smoothly on an XP machine. After further checking, I found out that the problem was something related to the PHP function file_get_contents, for sure this was not the problem as it is running okay on XP.
Here’s part of the script:
function getCalendarTemplate($strPath)
{
$content = file_get_contents($strPath);
return $content;
}

Type: Web System Development and Design
Client: Pinoy Express Hatid Padala Services, Inc.
Details: Web system and Public information website
Tools: PHP, MySQL, and Photoshop 7
Website: www.pinoy-express.com
This one of my very first project back in 2004
There are a lots of tools on Google spreadsheet that we could use to display live data from a source website into your own website and it keeps get updated when the source is updated.
One good example I tried is getting the 2008 Beijing Olympics Overall Medal Standing, my goal is to have a list of medal standing that is updated regularly.
Read More
It’s not actually a pure CSS tricks/hacks, as we all know, IE6 doesn’t support CSS minimum and maximum width but we can achieve those properties to work using DOM manipulation.
I used jQuery library to make my DOM manipulation simple and easy.
First step, get the CSS min width and max width value defined in the CSS file, so that the resizing will still dependent on the CSS properties. I use “container” as my div tag ID that wraps up all the html elements.
var min_width = parseInt($('#container').css('min-width'));
var max_width = parseInt($('#container').css('max-width'));
Here is the function that will resize the container: Read More
Tondol White Beach Resort in Anda Pangasinan, a community base beach resort that has fine white sand and a long stretch of shallow water.
for more info visit Tondol White Beach
To get the first date of the current week, you need subtract the numeric representation of the day of the week to the given date, in this case the current date.
The code will return the timestamp of the first date of the current date.
$timestamp = mktime(0, 0, 0, date('m'), date('d') - date('w'), date('Y'));
From the code above, we can create functions that will return the first day of the week on any given date.