Link to home
Start Free TrialLog in
Avatar of Zado
ZadoFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Add 'param' element into 'object' with jquery

Hi Experts!

Quick question:
I've got a piece of code on my blog's pages:
<object width="300" height="300">
  <param name="movie" value="http://www.youtube.com/v/_OtW1BYVvIM?version=3&amp;hl=en_US&amp;rel=0"></param>
  <param name="allowFullScreen" value="true"></param>
  <param name="allowscriptaccess" value="always"></param>
  <embed src="http://www.youtube.com/v/_OtW1BYVvIM?version=3&amp;hl=en_US&amp;rel=0" type="application/x-shockwave-flash" width="300" height="300" allowscriptaccess="always" allowfullscreen="true"></embed>
</object>

Open in new window

And I want to add this piece between 'object' tags:
<param name="wmode" value="transparent">

Open in new window

And I want to do it in easiest possible way, with jquery, so I don't have to search edit every single object.
How can I do this?

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial