繁体   English   中英

SPServices.SPCascadeDropdowns不起作用

[英]SPServices.SPCascadeDropdowns not working

谁知道将其连接到HTML表单???

不是NewForm.aspx和HTML表单?

<script type="text/javascript">
    $(document).ready(function() {
        $("#State").SPServices.SPCascadeDropdowns({
            relationshipList             : "SOGP",
            relationshipListParentColumn : "Title",
            relationshipListChildColumn  : "LC",
            parentColumn                 : "Title",
            childColumn                  : "LC"
        });
    });
</script>
<select id='State' listFieldName='Title' class='formInput'></select>

SPServices的SPCascadeDropdowns未设置为可与任何旧的任意HTML一起使用。 它应与默认列表形式一起使用。

(您已经在此处的SPServices讨论中获得了此答案。)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM