javascript - Result not match for text area (jQuery) -


i have question concerns jquery.urlive plugin. plugin used graph content other website , generate html element, use develop personal project. have problem don't know how solve, should customize library or there solutions?

i duplicate text area more 2 (let's have done duplication), same functions, means when there url in text area 1 , result appear result 1 , others same.

obviously problem when there url on text one, results other text shown.

here code: http://jsfiddle.net/samphors/4kftc/77/

thanks helping.

you need call urllive changed element

$('.demo').on('input propertychange', function () {     var $this = $(this),         $ct = $this.next();     $this.urlive({         container: $ct,         callbacks: {             onstart: function () {                 $ct.html('<span class="loading">loading...</span>');             },             onsuccess: function (data) {},             nodata: function () {                 console.log('y')                 $ct.html('');             }         }     }); }).trigger('input'); 

demo: fiddle


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -