如何使用jquery设置Materialize的开关的值

时间:2017-06-20 13:41:10

标签: materialize

我正在使用Materialize库,我正在尝试设置开关的值。如何设置该值?

1 个答案:

答案 0 :(得分:1)

您可以使用'checked'属性:

Traceback (most recent call last):
File "C:\Users\delgadom.sbt\Desktop\CSV Editor\CSVDocEditor.py", line 154, in <module>
updateDocType(),newDate(),newSSN(),filePath(),newName(),newHeader()
File "C:\Users\delgadom.sbt\Desktop\CSV Editor\CSVDocEditor.py", line 21, in updateDocType
newLine = "%s,%s,%s,%s,%s,%s,%s" %(docType, data[1], data[2], data[3], data[4], data[5],"18",data[6],"16")
TypeError: not all arguments converted during string formatting