I have a form where the user inputs an URL. The value resulting from that input after tweaking it a bit is the variable #url which is displayed to the user right away.
I need to make the like and tweet buttons in my site point to that URL. Making their HREFS equal to the variable #url
This are the share buttons:
<a id="twtbutton" href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="theclocktwt">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>
<fb:like id="fbbutton" send="false" layout="button_count" width="450" show_faces="false" font="" style="position: absolute; left:110px;"></fb:like>
</div>
Here you can see how it works: http://www.chusmix.com/tests/magic.html
What appears as "Improved link" is the url I want the share buttons to use.
cleanURL()?