Home  >  Article  >  Web Front-end  >  jquery form loading data example_jquery

jquery form loading data example_jquery

WBOY
WBOYOriginal
2016-05-16 16:51:51982browse

Part of the code is as follows

Copy code The code is as follows:




id="areaId"
name="areaId"
url="getAreasList" //You can get data from the background
valueField="id"
textField="name"
panelHeight="auto"
/>




As follows:

<pre code_snippet_id="229232" snippet_file_name="blog_20140311_1_9 60217" name ="code" class="html">var row = $('#dg').datagrid('getSelected'); <br>

 
$('#fm').form('load',row); <div class="codetitle">fm:form Tag's id <span>row: The obtained piece of data is an object. Select a piece of data in easyui <a style="CURSOR: pointer" data="88031" class="copybut" id="copybut88031" onclick="doCopy('code88031')">For data reception, use <input name="row's corresponding attribute name"/> <u></pre&gt ;<br> </u><pre class="brush:php;toolbar:false">



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Summary of nested use of JQuery each()_jqueryNext article:Summary of nested use of JQuery each()_jquery

Related articles

See more