I hava just a simple issue .
I wanna assign a value to a text box , but not as a string , as Java script function .
I will give you simple example :
<input type="text" value="exam">// here i assign the value as a string .
<input type="text" value=functionx() > // functionx is a java script function that
will assign a value to the text box.
<script > function functionx(){return 'exam';}</script>
now after this simple example , my question is : how can i assign a value to the text box using java script function ?