Refresh a view of a tabstrip

1 posts, 0 answers
  1. Vanni
    Vanni avatar
    2 posts
    Member since:
    Jul 2012

    Posted 27 Jul 2012 Link to this post


    i put a form inside a view... in a tabstrip, now i want to try to change the view content (with a listview).... i tryed this but it don't work, the refresh with jquery fully break kendo ui!:

    <div id="figa" data-role="view" data-title="Form Elements" data-init="initForm"  data-layout="mobile-tabstrip">
        <form action="/newOrdine/" method="post">
            <ul data-role="listview" data-style="inset">
                        <option value="First Option">First Option</option>
                        <option value="Second Option">Second Option</option>
                        <option value="Third Option">Third Option</option>
                        <option value="Fourth Option">Fourth Option</option>
                    Select element
        <a class="button" data-role="button" type="submit">Home</a>
        <a class="button" data-role="button" onclick="javascript:submitForm();">Facility</a>
        <a class="button" data-role="button" href="#sports" style="background-color: #f60">Sports</a>    

        function submitForm() {
            //$("#container").empty().html('<img src="/static/indicator.gif"/>');
            var nome = 'pippo';
            $('#figa').load('/newOrdine/', {'nome':nome});

Back to Top