JQuery Mobile в / Wrap с помощью JQuery UI - PullRequest
0 голосов
/ 02 июля 2011

этот вопрос может быть немного глупым ... но возможно ли вставить мобильную форму jQuery в элемент вкладки jQuery UI?

Другими словами, у меня есть код JQuery UI Tabs:

<!DOCTYPE html>
<html lang="en">
    <head>
    <meta charset="utf-8">
    <title>jQuery UI Tabs - Default functionality</title>
    <link rel="stylesheet" href="http://jqueryui.com/themes/base/jquery.ui.all.css">
    <script src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
    <script src="http://jqueryui.com/ui/jquery.ui.core.js"></script>
    <script src="http://jqueryui.com/ui/jquery.ui.widget.js"></script>
    <script src="http://jqueryui.com/ui/jquery.ui.tabs.js"></script>
    <script>
    $(function() {
        $( "#tabs" ).tabs();
    });
    </script>
    </head>
    <body>
    <div class="demo">
      <div id="tabs">
        <ul>
          <li><a href="#tabs-1">Nunc tincidunt</a></li>
          <li><a href="#tabs-2">Proin dolor</a></li>
        </ul>
        <div id="tabs-1">
          <p>lectus.</p>
        </div>
        <div id="tabs-2">
          <p>Morbi</p>
        </div>
      </div>
    </div>
</body>
</html>

как вы видите, у меня есть две вкладки в jQuery-UI-Tabs, теперь я хочу вставить jQuery-Mobile-Form в одну из вкладок:

jQuery Mobile Html:

        <div data-role="page" class="type-interior">
        <div class="content-primary">
          <form action="#" method="get">
            <div data-role="fieldcontain">
              <label for="name">Text Input:</label>
              <input type="text" name="name" id="name" value=""  />
            </div>
          </form>
        </div>
      </div>

Это возможно ??

Спасибо за ваше время !!!

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...