开发者

how do i Enable Text selection in Readonly/Disabled text field in FireFox browser

I have a readonly text field in jsp as an input tag, I want to make a selection, copy the text and paste it for some further use.I am able to do it in IE browser but not able to do the same in FireFox. Please help. <input name="ls_om开发者_运维百科a_data_alue.toimipaikkanimi" class="imp" id="Textfield3" type="text" size="55" readOnly="readonly" jQuery1316436638526="13" value="Kaunixxxxxxxxxxpunki"/>


To keep it short: you can't access clipboard in Firefox (as oppose to IE). To make your script cross-browser you can use flash-based solution like this one: http://code.google.com/p/zeroclipboard/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜