How to Refresh ZeroClipboard.swf using jQuery

How to Refresh ZeroClipboard.swf using jQuery

I am using the ZeroClipboard.swf and following jQuery method to update a text value.

I have following at the index.html

<span class="htmlClass">My Custom Page</span>

and this Script

  1. $(document).ready(function(){ $('.htmlClass').html($('input:text').val()); $("#pageName").click(function() { $('.htmlClass').html($('input:text').val()); }); });


but the ZeroClipboard.swf is always taking the first Value "My Custom Page" which has been initialized before html() function.
Can you please let me know if there is a way to refresh or update the ZeroClipboard.swf after calling this method

  1. $("#pageName").click(function() { $('.htmlClass').html($('input:text').val()); });