私の要件は、ユーザーがテンプレートの編集ボタンをクリックした後、別のエディターでテンプレートの内容を編集することです。その後、変更されたコンテンツがデータベースに保存されます。
定義された例によると、画面上で動的にボタンを作成し、実行時に変更し、コンテンツをデータベースに保存しましたが、その後EDITモードで開くと、保存したものを拡張JQMが挿入したことが示されました。同じコンテンツをデータベースに保存する実際の方法を教えてください。
enter code here :Im trying to save - <a href="#somelink" data-role="button" data-icon="hello">Button</a>
its shown in EDIT mode : <a class="ui-btn ui-shadow ui-btn-corner-all ui-btn-inline ui-btn-icon-left ui-btn-up-a" data-icon="hello" data-iconpos="left" data-role="button" href="#somelink" data-corners="true" data-shadow="true" data-iconshadow="true" data-wrapperels="span" data-theme="a">
<span class="ui-btn-inner ui-btn-corner-all">
<span class="ui-btn-text">Button</span>
<span class="ui-icon ui-icon-hello ui-icon-shadow"> </span>
</span>
pagecreate または pageinit イベントをリッスンしようとしています。ありがとう