One adds an alt attribute, the other a title attribute instead.

Jörn

On Wed, Jan 21, 2009 at 6:53 PM, John Resig <[email protected]> wrote:
>
> Umm - both of your examples are identical? Do you have an example online?
>
> --John
>
>
>
> On Wed, Jan 21, 2009 at 12:01 PM, TMQuinn <[email protected]> wrote:
>>
>> This works:
>> nextTag = $("<img src='image.gif' alt='value' />");
>> nextTag.bind('click', clickMe);
>>
>> This Fails:
>> nextTag = $("<img src='image.gif' title='value' />");
>> nextTag.bind('click', clickMe);
>>
>> with a no such method error.  Should I submit this to the Bug Tracker?
>>
>>
>> >
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to