Special characters are automatically escaped in case of flaws. If you are
100% sure, you could make the text unescaped. However, it just affects how
it looks in the source code and not relevant to your execution results.
sonu kumar於 2013年12月21日星期六UTC+8上午6時56分34秒寫道:
>
> 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('/CleavPredict/default/mmp',{'protease'
> :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: $("
> #domMessage") });" 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.