about example of dropdown callback

Questionsabout example of dropdown callback
Chao Shun Jenq asked 11 years ago

Hi
there are some do not understaned.

jQuery("input[name=gender].FormElement").val(data[0].gender);
jQuery("textarea[name=company].FormElement").val(data[0].company);

Q1:at "input[name=gender].FormElement". Is gender a col-name?
Q2:at "data[0].gender". Is gender a col-name?
Q2:at "data[0].gender". Is data[0] fixed (include use for master-detail mode)?

Rgds,

1 Answers
Abu Ghufran answered 11 years ago

A1: Yes
A2: Yes
A3: Yes, it will remain data[0] as one item will be selected from dropdown.

Your Answer

13 + 15 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?