Home > Web Front-end > JS Tutorial > jquery form loading data example_jquery

jquery form loading data example_jquery

WBOY
Release: 2016-05-16 16:51:51
Original
1006 people have browsed it

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">



Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template