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/
精彩评论