On Wednesday, April 3, 2013 3:10:23 PM UTC-4, Derek wrote:
>
> Flickr, Panaramio, RSS to JSON (http://ejohn.org/projects/rss2json/) 
> Yahoo YQL (http://developer.yahoo.com/yql/guide/response.html), Twitter, 
> Salesforce.com...
>
> One thing that bugs me is that jQuery returns jQuery objects not dom 
> objects, so certain things you want to do just don't work if you treat it 
> like regular JS.
>

You can access the DOM object very easily by appending '[0]' to the jQuery 
object.

For instance, $('#element')[0] will return the DOM element with the id of 
"element", or jQuery('a[href="#"]')[0] will return the first anchor tag 
with a href of "#".

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to