Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("SPEECH",currentContext).each(function(){
- var speaker = $("#selectSpeaker").val();
- if($(this).find("SPEAKER").text()===speaker){
- var line = $(this).find("LINE").text();
- line.each(function(){
- var singleLine = $(this);
- $("#speakers").append("<p class='speech'>" + speaker + "</p>" + "<p>" + singleLine + "</p>");
- });
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement