Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

How to send hidden form parameters using html to the server in titanium?

$
0
0

I want to send hidden parameters, using a particular url to the server. can anybody please help me that how can i achieve the same in titanium??

for e.g. below is the code to achieve the same in .net for web app :

<!DOCTYPE html>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="http://abc.sample.url"></script>
     <script type="text/javascript">
         $(document).ready(function () {
             $("#nonseamless").submit();
         });
     </script>
 </head>
 <body>
    <form id="nonseamless" method="post" name="redirect" action="https://sample.url">
    <input type="hidden" id="id1" name="name1" value='value1' />
    <input type="hidden" name="name2" id="id2" value='value2' />
     Please wait..
     </form>
 </body>
 </html>
i want similar to this for titanium..

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>