internet explorer 6 - jquery find('object') problem in ie6 -


i have problem ie6 when searching inserted object jquery. this:

var obj = $('<div></div>').html($('#embedded_video').val()).remove().find('object'); 

where in embedded_video textbox insert object taken youtube or so. works great in ff , ie7&8 not seem work in ie6. tried modify command else ...find('a') , works in ie6 problem appears when search 'object'.

can find method search?

thanks

i'd curious find out more. when this. see object in html?

alert($('<div></div>').html($('#embedded_video').val()).remove().html()); 

also, happens if use closest() instead of find(). although, if you're looking more 1 object, maybe isn't you.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -