TYPO3 Form send via JQuery.submit()

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-24 12:02:59

问题


I have an typo3 form (action="update") which should be sended via jquery.

Form looks like this:

<f:form action="update" name="note" object="{note}"> <textarea class="form-control gettooltip" rows="1" placeholder="Kommentar" title="Kommentar zur Note">{note.kommentar}</textarea> </f:form>


回答1:


Just to warn you to not follow our team way, when you try to use some custom AJAX dispatcher, then switch to different pageType, after that to eID or whatever. My recommended way to do AJAX calls within TYPO3 is to use EXT:typoscript_rendering

Find this article from extension's author, which has links to root causes and usage example.

And a Github repository.



来源:https://stackoverflow.com/questions/27598919/typo3-form-send-via-jquery-submit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!