Shaun's Profile
Reputation: 23
Excellent
- Group:
- Members
- Active Posts:
- 608 (0.42 per day)
- Joined:
- 24-June 08
- Profile Views:
- 5,651
- Last Active:
May 23 2012 02:37 PM- Currently:
- Offline
My Information
- Member Title:
- Expert
- Age:
- 25 years old
- Birthday:
- April 19, 1987
- Gender:
-
Male
- Location:
- New York, NY
Contact Information
- E-mail:
- Private
Users Experience
- Experience:
- Web Guru
- Area of Expertise:
- Web Developer
Latest Visitors
-
Dojcinovski 
17 May 2012 - 19:34 -
Anusha 
03 May 2012 - 05:13 -
design92 
27 Apr 2012 - 18:04 -
murphos1508 
26 Apr 2012 - 09:34 -
webdesigner93 
25 Apr 2012 - 20:22
Posts I've Made
-
In Topic: Do you still support ie7
11 May 2012 - 10:59 PM
The last company I worked for supported browsers based on their analytical reports. My current company supports only the current and previous versions of each major browser.
Both seem to be legitimate rules. Depending on the purpose of your website, I would recommend either of the above. -
In Topic: how do i dynamically assign classes to DIV's ... Somehow!?
11 May 2012 - 10:54 PM
Without fully understanding your post, to achieve what you're asking for in the subject, you would use JQuery:
$('#revealVoucher').addClass('revealVoucher_01');
You can change the class name to a php variable if that's what you need to do. I have to say though, if they're going to be unique, I wouldn't use classes. -
In Topic: Contact form validation
27 April 2012 - 11:12 PM
Help you write it? Sure. Write it for you? Nah -
In Topic: Error in W3C check
27 April 2012 - 04:32 PM
Using a semi-colon in the content attribute instead of a double quotation mark. -
In Topic: Controlling HTML form using Javascript
27 April 2012 - 04:18 PM
No problem!
You could even make it shorter by using a class for the fields:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <script type="text/javascript" src="javascript/jquery.js"></script> </head> <body> <form id="formid"> <input type="text" id="req_field" /> <select class="disabled_field" disabled="disabled"> <option>Please Select</option> <option>Option 1</option> <option>Option 2</option> <option>Option 3</option> </select> <input type="submit" value="Search" class="disabled_field" disabled="disabled" /> </form> <script type="text/javascript" language="javascript"> $('#req_field').keyup(function(){ if($(this).val() != ''){ $('.disabled_field').attr('disabled', ''); } else { $('.disabled_field').attr('disabled', 'disabled'); } }); </script> </body> </html>
Help




Find My Content
Display name history
Comments
Ben
19 Apr 2009 - 18:39Ben
16 Jul 2008 - 20:24Ben
16 Jul 2008 - 20:00Seth
26 Jun 2008 - 21:47tigerlabs
24 Jun 2008 - 22:42Paul Boreham
24 Jun 2008 - 21:52Like your site, very nice on the eye!