开发者

cfselect problem

I theory seems to be the answer to the pre populated selectbox issue.

<cfsele开发者_开发问答ct name = "regions" query = "getRegions" selected="10" value="id" display="name" ></cfselect> 

this is what it outouts

<option value="8">Dumfries & Galloway</option>
<option value="9">Dundee City</option>
<option value="10" selected="selected">East Ayrshire</option>
<option value="11">East Dunbartonshire</option>

but my option 10 is not selected automatically. The html looks ok any reason why?

Thanks,

R.


If you are using Firefox then that is probably the reason, because it keeps form values persistent across page reloads. You can use a different browser, or add something to the query string like ?abc=123.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜