在此代码中:
<form name=formSearch action="javascript:SMPStartSearch()//">
<input type="text" name=txtSearch class="search">
<input name=send type=submit value="Search">
</form>
<script src="search.js" type="text/javascript"></script>
当我使用validator.w3.org验证时,收到错误消息:
错误:错误值javascript:SMPStartSearch()//对于元素表单上的属性操作:在函数体之后丢失}
在哪儿?
答案 0 :(得分:0)
Instaed of
#replace tax1 value
for item in list:
pos_item = item.getPosition() # pos_item = getIteratorValue()
#how can i assign the dict value to a variable?
dict_value = dict[pos_item][value]
#use one variable to search and the other as a replacement
other_list[pos_item].replace("0,00", dict_value)
使用
<form name=formSearch action="javascript:SMPStartSearch()//">