> Now one thing I have noticed so correct me if I am wrong, everything seems
> to be based on Ids? Is that correct.
It's not based on ids, you can select your DOM elements any old way you
want.
$("input") selects all inputs
$("[EMAIL PROTECTED]") selects a select element named "myselect"
$("div.myclass") selects all divs with class "myclass"
Once you've selected the DOM elements you want, you use the method you want:
$("div.box").show() would show all divs of class box
That's just scratching the surface, it's really quite brilliant. Sort of
makes you wish javascript had this built in in the first place.
I've always been of the mind to roll my own JS, not use libraries, but I
heard so much hype about jQuery I had to check it out...now I'm going to use
it in any apps that use JS. Cuts down JS coding by like 80-90%.
-- Josh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 &
Flex 2.
Free Trial
http://www.adobe.com/products/coldfusion/flex2/
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270892
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4