or
change: function (e) { newData(e);}function newData(e) { $("#recCount").text(searchData.total()); chartData.series = []; chartData.names = []; var groups = searchData.view(); var groupCnt = groups.length; var group;// if (groupCnt == seachData.total()) return; // nothing grouped, no meaningful chart can be created.<form action="/setseeker/users/add/" id="UserAddForm" method="post" accept-charset="utf-8">
<input type="hidden" name="_method" value="POST"/>
<span class="label">Mail</span>
<div class="input text required"> <input name="data[User][email]" maxlength="255" type="text" value="" id="UserEmail"/> </div>SOME OTHER FORM ELEMENTS
<span class="label">Pro Nutzer</span>
<div class="input select">
<select name="data[User][ispro]" id="UserIspro">
<option value="0">Nein</option>
<option value="1">Ja</option>
</select>
</div>
<div class="submit">
<input type="submit" value="Erstellen"/>
</div>
</form>
The Post looks like:
Array
(
[_method] => POST
[data] => Array
(
[User] => Array
(
[username] =>
[password] =>
[email] => test@web.de
[newpassword] => 1
)
)
As you can see, there is no value for
<select name="data[User][ispro]" id="UserIspro">
<!DOCTYPE html><html> <head> <title></title> <script type="text/javascript" charset="utf-8" src="jquery.min.js"></script> <script type="text/javascript" charset="utf-8" src="kendo.mobile.min.js"></script> <link href="kendo.mobile.all.min.css" rel="stylesheet"/> </head> <body> <div data-role="view" id="settings" data-layout="commonLayout" > Login </div> <div data-role="view" id="favorites" data-layout="commonLayout" data-init="favoritesPageInit"> Featured </div> <div data-role="layout" data-id="commonLayout"> <footer data-role="footer"> <div data-role="tabstrip"> <a href="#favorites" data-icon="favorites">Favorites</a> <a href="#settings" data-icon="settings">Setting</a> </div> </footer> </div> <script type="text/javascript" charset="utf-8"> var app = new kendo.mobile.Application($(document.body), { initial: "settings" }); function favoritesPageInit(e){ app.navigate("#settings"); } </script> </body></html>var dataSource = new kendo.data.DataSource({ xpto = "3", <--- transport: { read: { // the remote service url // JSONP is required for cross-domain AJAX dataType: "jsonp", // additional parameters sent to the remote service data: { q: "html5" } } }, // describe the result format schema: { // the data which the data source will be bound to is in the "results" field data: "results" }});