This question is locked. New answers and comments are not allowed.
Hello,
When I have a component in the view with a basic ID/Name like "MyNumericTextBox" I can access the jQuery object just fine using:
However, for repeated controls, my ID structure must match the following:
Item[0].Price
Item[1].Price
Item[2].Price
... but I am unable to access the data object using:
Any help would be much appreciated!
Thanks,
-Derek
When I have a component in the view with a basic ID/Name like "MyNumericTextBox" I can access the jQuery object just fine using:
alert($(
'#MyNumericTextBox'
).data(
'tTextBox'
).value());
However, for repeated controls, my ID structure must match the following:
Item[0].Price
Item[1].Price
Item[2].Price
... but I am unable to access the data object using:
alert($(
'#Item[0].Price'
).data(
'tTextBox'
).value());
// or
alert($(
'#'
+ $(
'div[name$=Price]'
).attr(
'id'
)).data(
'tTextBox'
).value());
Any help would be much appreciated!
Thanks,
-Derek