I saw the message earlier today and played with: http://arashkarimzadeh.com/index.php/jquery/7-editable-jquery-plugin.html
What I would like to do is when a click is clicked to fire the click event on another page element:
<div class='editable sampleItem pointer' id='qqq'>click me!!!</div>
Is it possible?
for sure ..
$('.myspan').click(function(){ $('.different-div').click(); }) $('.different-div').click(function(){alert('div click fired')});
Check how it is,
HTML:
<div class='editable sampleItem pointer' id='qqq' onclick='clickHandler()'>click me!!!</div>
JavaScript:
<script type="text/javascript"> function clickHandler() { /* You code here */ } </script>