Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Field selection using javascript


I am using htmlb and xhtmlb for my BSP page development, which has a tableView. The content design being used is design2003.

I am using the following javascript code to keep a field selected:

function changeFocus()



myForm is the form name,

barcode is the inputField, within a tableView.

This works fine, when I am using the desing2002 or CLASSIC. But when I use the design2003, this does not work, but it only keeps the cursor focus on the inputfield. I want the entire value to be selected.

Any help in this would be highly appreciated.



Helpful Answer

Not what you were looking for? View more on this topic or Ask a question