Code: Select all
<textarea name="abstractbox" id="abstractbox"></textarea><script language="JavaScript">generate_wysiwyg('abstractbox');</script>For example,
register.php --> Current file displayed to user in which the radio button is there. Depending on the radio button that was selected, an ajax call is made to content.php
content.php --> Contains a if loop that determines which radio button was pressed and sends a html output of a form to register.php for display
The problem is that the javascript is not being sent by the content.php file i.e. the generate_wysiwyg('abstraction'); and as a result, the text area is not being converted. Can someone help me get out of this problem please?