On Clicking checkbox change textbox value
<pre><code>&lt;input type="checkbox"&gt;hello
&lt;input type="textbox" name="textbox"&gt;
</code></pre>

<p><em>fiddle-<a href="http://jsfiddle.net/JNX5G/" rel="nofollow">http://jsfiddle.net/JNX5G/</a></em></p>

<p>when clicking the <code>checkbox</code> I want to display the value of <code>textbox</code> on the page.
I am working in php and ci.</p>
