Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ajax and embed tag attributes

 
Ameet Topare
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

in my jsp i have embed tag playing mp3 file.
when user click on next button, ajax resposnses with next mp3 file.

now when i replace src of embed tag, the next mp3 file is not played.

i am replacing the complete innerhtml of span tag with ajax response.

<span id="mpHtml">
<embed ...... </embed>
</span>
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you changing the entire html and not just the src of the embed tag?

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic