Thread
:
Please help to improve my code
View Single Post
01-29-2013, 02:20 PM
PM User
|
#
2
SB65
Senior Coder
Join Date: Feb 2009
Location: West Yorkshire
Posts: 2,812
Thanks: 9
Thanked 681 Times in 675 Posts
Code:
$("select, textarea, input").change(function () { function_name($(this)); });
is shorter.
All
input elements will be included with this selector.
__________________
Use the W3C
HTML Validator
and
CSS Validator
to check your code and
Firebug
to see what css is applied to an element
Read Steve Krug's book
Don't Make Me Think
- essential reading on web usability
I don't recommend much, but I do recommend
Clook for UK web hosting
SB65
View Public Profile
Visit SB65's homepage!
Find More Posts by SB65