title: Submitting form inside Kendo Script Tag
body: <p>I have this below code inside .cshtml file , where I am trying navigate to HttpPost <strong>Index</strong> Action method of <strong>Account</strong> Controller, on click of anchor tag (inside last table data section). But for some reason I am not able to navigate to HttpPost Index Action method, but the same code works fine when included outside script tag .</p>
  <pre><code>   &lt;script id=&quot;ds-list-tpl&quot; type=&quot;text/x-kendo-template&quot;&gt;
                          &lt;tr&gt;                                
                              &lt;td data-label=&quot;Online Store&quot;&gt;#: Name #&lt;/td&gt;
                              &lt;td data-label=&quot;Phone&quot;&gt;#: phone #&lt;/td&gt;
                              &lt;td data-label=&quot;Connect&quot;&gt;
                                  &lt;span style=&quot;display:none;&quot;&gt;#: Id #&lt;/span&gt;
                                  &lt;form class=&quot;hl-form&quot; asp-controller=&quot;Account&quot; asp-action=&quot;Index&quot; id=&quot;introduce-me-form&quot; method=&quot;post&quot;&gt;
                                      &lt;a href=&quot;@Url.Action(&quot;Index&quot;, &quot;Account&quot;)&quot; data-form-method=&quot;post&quot; id=&quot;introduce-me-button&quot; class=&quot;btn-primary&quot;&gt;@Localizer[&quot;Connect&quot;]&lt;/a&gt;
                                  &lt;/form&gt;
                              &lt;/td&gt;
                          &lt;/tr&gt;
                      &lt;/script&gt;
      
      And below is the JS code I have written to submit the form 
      
      &lt;script&gt;
          $('a[data-form-method='post']').click(function (event) {
              event.preventDefault();
              $('#introduce-me-button').attr('disabled', 'disabled');
              var element = $(this);
              var action = element.attr('href');
              element.closest('form').each(function () {
                  var form = $(this);
                  form.attr('action', action);
                  form.submit();
              });
          });
      &lt;/script&gt;
      
      I am new to Kendo , could somebody please help me on this .
      Thank you 
  </code></pre>