Hi,
I'm not really good in english, but you don't "Get objects by attribute", you changed some attribute of an element, nothing else...
Getting an element by attribute looks like that :
$('img[class]');
or with a value :
$('img[class="image"]');
or more difficult :
$('img[class$="align"]');
Or with filter function :
$('img').filter('[class="image"]');
Thank you.
Geoffrey
Discussion on:
View:
Show:
Sorry, but Geoffrey is correct here.
In your example you get the 'img' and change its attributes with .attr().
In your example you get the 'img' and change its attributes with .attr().
how do you get an image from a dynamic webcam stream such as :
- Keyboard Shortcuts:
- Prev
- Next
- Toggle

































