Hi,

When I use below code in controller to show form. It works fine but when I 
see html source of html page...it shows some charachters...which is shown 
in red below. how to remove them?

form=FORM(TABLE(TR('Select 
protease:',SELECT(values,requires=IS_NOT_EMPTY("choose one 
value"),_name='protease',_onchange="jQuery.post('%s',{'protease':jQuery(this).val()})"
 
% URL('mmp'))),
    TR('Enter sequence:',TEXTAREA(_name='fasta',_style = 
'font-family:Courier; width:550px;height:250px;')),
    
TR("",INPUT(_type="submit",_value="SUBMIT",_onclick='javascript:$.blockUI({message:
 
$("#domMessage") });'))))

<form action="#" enctype="multipart/form-data" 
method="post"><table><tr><td>Select 
protease:</td><td><select name="protease" onchange="jQuery.post(&#x27;
/CleavPredict/default/mmp&#x27;,{&#x27;protease&#x27;:jQuery(this).val()})"><option
 
value=""></option><option value="MMP2">MMP2</option><option value="MMP3">
MMP3</option><option value="MMP8">MMP8</option><option value="MMP9">MMP9
</option></select></td></tr>
<tr><td>Enter fasta sequence:</td><td><textarea cols="40" name="fasta" rows
="10" style="font-family:Courier; width:550px;height:250px;"></textarea>
</td></tr>
<tr><td></td><td><input onclick="javascript:$.blockUI({message: $(&quot;
#domMessage&quot;) });" type="submit" value="SUBMIT" /><input class="btn" 
type="reset" value="Reset" /></td></tr></table>
</form>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to